82 |
kdDebug() << "1" << endl; |
kdDebug() << "1" << endl; |
83 |
connect(http, SIGNAL(readyRead(const QHttpResponseHeader &)), |
connect(http, SIGNAL(readyRead(const QHttpResponseHeader &)), |
84 |
this, SLOT(slotReadyRead())); |
this, SLOT(slotReadyRead())); |
85 |
connect(http, SIGNAL(requestStarted(int)), |
connect(http, SIGNAL(requestStarted(int, bool)), |
86 |
this, SLOT(slotRequestStarted(int))); |
this, SLOT(slotRequestStarted(int))); |
87 |
kdDebug() << "2" << endl; |
kdDebug() << "2" << endl; |
88 |
http->setHost("www.trolltech.com"); |
http->setHost("www.trolltech.com"); |
115 |
data(http->readAll()); |
data(http->readAll()); |
116 |
} |
} |
117 |
|
|
118 |
void kio_kmdProtocol::slotRequestStarted(int req) |
void kio_kmdProtocol::slotRequestFinished(int req) |
119 |
{ |
{ |
120 |
kdDebug() << "kio_urn -> reqstart " << req << endl; |
if(req == requestNr) |
121 |
|
isFinished = true; |
122 |
|
kdDebug() << "kio_urn -> reqfinished " << req << endl; |
123 |
} |
} |