[Interest] Debugging as root.

2013-02-13 Thread Jason Cipriani
I'm developing an application in Qt Creator that needs to be run as root. I'd rather not run Qt Creator itself as root. Can I configure Qt Creator to run the application as root when I press the run button? Thanks, Jason ___ Interest mailing list Interes

Re: [Interest] Parsing key/value pairs from a string.

2013-02-05 Thread Jason Cipriani
On Tue, Feb 5, 2013 at 3:53 PM, Jason H wrote: > is there a concern about percent encoded characters? > %20, %7f, etc. > > I think QURL would handle that better. > Nope, won't have any of those. *From:* d3fault > While what you're asking is easily accomplishing using > QString::split() [0] ,

[Interest] Parsing key/value pairs from a string.

2013-02-04 Thread Jason Cipriani
I have a QString, properties, formatted something like: keyvalue = key value properties = keyvalue *( keyvalue ) E.g.: "color:red;material:wood;name:joe" or "color=red&material=wood&name=joe" where and are arbitrary but known ahead of time. I'm loading the key/value pairs into a QMap. E

Re: [Interest] [Qt 4.8] Subclassing QAbstractSocket (for ICMP)

2013-01-28 Thread Jason Cipriani
I see. Thanks again! Jason On Mon, Jan 28, 2013 at 10:38 AM, Thiago Macieira wrote: > On segunda-feira, 28 de janeiro de 2013 08.55.33, Jason Cipriani wrote: > > Just out of curiosity, what is the purpose of UnknownSocketType? Is it > > meant only for stream and datagram (not ra

Re: [Interest] [Qt 4.8] Subclassing QAbstractSocket (for ICMP)

2013-01-28 Thread Jason Cipriani
UDP? Thanks, Jason On Mon, Jan 28, 2013 at 1:58 AM, Thiago Macieira wrote: > On domingo, 27 de janeiro de 2013 22.02.01, Jason Cipriani wrote: > > I am writing an application that has to send and receive ICMP messages. > > That means you're running as root and you're

[Interest] [Qt 4.8] Subclassing QAbstractSocket (for ICMP)

2013-01-27 Thread Jason Cipriani
I am writing an application that has to send and receive ICMP messages. Primary goal is to minimize amount of platform-specific code. To that end I am trying to extend QAbstractSocket to provide an ICMP socket implementation. However, I'm stuck on the fundamentals working with QAbstractSocket. My d

Re: [Interest] findChildren() in destroyed() signal slot

2012-03-19 Thread Jason Cipriani
On Mon, Mar 19, 2012 at 12:10 PM, Jason Cipriani wrote: > Thanks. I need an accurate list of children in response to a child's > destroyed signal, so is the best way to do this, then, to have Parent > maintain its own list of Children, rather than using findChildren(), and >

Re: [Interest] findChildren() in destroyed() signal slot

2012-03-19 Thread Jason Cipriani
from the Parents list? J On Mon, Mar 19, 2012 at 11:52 AM, Thiago Macieira wrote: > On segunda-feira, 19 de março de 2012 11.34.02, Jason Cipriani wrote: > > I am new to Qt. I have two QObject-derived classes, Parent and Child. > > Child's parent is a Parent. When I a

[Interest] findChildren() in destroyed() signal slot

2012-03-19 Thread Jason Cipriani
I am new to Qt. I have two QObject-derived classes, Parent and Child. Child's parent is a Parent. When I attach a slot in Parent to Child's destroyed() signal, I see that Parent's findChildren() does not include the Child that was destroyed. This is what I want. Calling findChildren() in a destroye

[Interest] Disabling RAS image support.

2012-02-26 Thread Jason Cipriani
I have an application (Qt 4.7.4) that reads QImages from a QDataStream backed by a QTcpSocket. Each time it reads an image it prints "Reading ras files from sequential devices not supported" to stderr. A Google search reveals a code snippet from KDE ras handlers at http://www.oschina.net/code/exp