PDA

View Full Version : Waiting for readyread and requestfinished signal



srohit24
9th July 2009, 09:57
Can someone help me in writing the code for Waiting for readyread and requestfinished signal?

I am using this code to connect the signal, but i need both the signals to be emitted and then perform some function,



connect(&http, SIGNAL(readyRead(const QHttpResponseHeader &)),
this, SLOT(readData(const QHttpResponseHeader &)));

connect(&http, SIGNAL(requestFinished(int, bool)),
this, SLOT(finished(int, bool)));

wysota
9th July 2009, 09:59
Please don't start two threads on the same subject.