On Tue, Jul 22, 2008 at 5:20 PM, Mike Adolf <mlnx@xxxxxxx> wrote:
> Kaleb Pederson wrote:
>> On Tue, Jul 22, 2008 at 4:06 PM, Mike Adolf <mlnx@xxxxxxx> wrote:
>>> I should have noticed that. I changed it to a pointer but still get an
>>> error: no matching function for call to 'MyQDialog::connect(SaxHandler*&,
>>> const char , 'MyQDialog* const, const char )'
>>> "SaxHandler*&" doesn't look right.
>>> I put "SaxHandler *handler;" into myQDialog.h. (Also, I don't understand
>>> meaning of "const char /", the prototype for connect says it
>>> be "const char*" )
>> Your handler class doesn't derive from QObject so it's not a valid
>> argument for connect.
> Not sure what you are telling me. SaxHandler inherits QXmlDefaultHandler()
> which inherits QObject.
That's not what the documentation says. See the "List of all members,
including inherited members" link in the documentation, which gives
you the following indicating that it's not:
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/