hi friends. Im Working with http and im trying to show the recived response header in a texedit...
so im trying to use this signal void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp )
here is the code:
connect(&myHttp, SINGAL(QHttp::responseHeaderReceived(&myRespHeader )),
this, SLOT(showRespHeader()));
myHttp is an instance of QHttp
myRespHeader is an instance of QHttpResponseHeader
showResponseHeader() is a defined slot by myself
but i face with these errors ...
1. cannot call member function 'void QHttp::responseHeaderReceived(const QHttpResponseHeader&)' without object
2. 'SINGAL' was not declared in this scope
who knows ehats wrong here? help me plz
thnx alot
Bookmarks