Hello!
How properly pass callback or call user function while finish() emmited?
I can't pass like that:
typedef void(*ptr)(const void *);
...
public slots:
void reply(QNetworkReply* reply, ptr);
...
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*, ptr)));
typedef void(*ptr)(const void *);
...
public slots:
void reply(QNetworkReply* reply, ptr);
...
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*, ptr)));
To copy to clipboard, switch view to plain text mode
Due to incompatible sender/receiver arguments.
Please explain some response processing "technics".
Best regards.
Bookmarks