/[storm]/storm/kde/kmd/kmd.cpp
ViewVC logotype

Diff of /storm/kde/kmd/kmd.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by benja, Wed May 21 19:47:13 2003 UTC revision 1.7 by benja, Wed May 21 19:55:31 2003 UTC
# Line 82  void kio_kmdProtocol::get(const KURL& ur Line 82  void kio_kmdProtocol::get(const KURL& ur
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, bool)),    connect(http,  SIGNAL(requestFinished(int, bool)),
86            this, SLOT(slotRequestStarted(int)));            this, SLOT(slotRequestFinished(int)));
87    kdDebug() << "2" << endl;    kdDebug() << "2" << endl;
88    http->setHost("www.trolltech.com");    http->setHost("fishy.it.jyu.fi", 5555);
89    requestNr = http->get("/index.html");    requestNr = http->get(url.prettyURL());
90    kdDebug() << "request id: " << requestNr << endl;    kdDebug() << "request id: " << requestNr << endl;
91    while(!isFinished) {    while(!isFinished) {
92      //kdDebug() << "process events" << endl;      //kdDebug() << "process events" << endl;
93      app->processEvents();      app->processEvents();
94    }    }
95    kdDebug() << "done" << endl;    kdDebug() << "done" << endl;
96      finished();
97  }  }
98    
99    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26