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 the
> meaning of "const char /", the prototype for connect says it should
> be "const char*" )
Your handler class doesn't derive from QObject so it's not a valid
argument for connect.
> And my connect statement is:
> connect(handler, SIGNAL(foundBalance(const QString &)),
> this, SLOT(setOpenBal(const QString &)));
Other than what I just mentioned, the syntax looks good.
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/