[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] storm/kde/kmd kmd.cpp
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] storm/kde/kmd kmd.cpp |
Date: |
Wed, 21 May 2003 15:04:43 -0400 |
CVSROOT: /cvsroot/storm
Module name: storm
Changes by: Benja Fallenstein <address@hidden> 03/05/21 15:04:43
Modified files:
kde/kmd : kmd.cpp
Log message:
wait just returns
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/kde/kmd/kmd.cpp.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: storm/kde/kmd/kmd.cpp
diff -u storm/kde/kmd/kmd.cpp:1.3 storm/kde/kmd/kmd.cpp:1.4
--- storm/kde/kmd/kmd.cpp:1.3 Wed May 21 14:52:59 2003
+++ storm/kde/kmd/kmd.cpp Wed May 21 15:04:43 2003
@@ -54,7 +54,6 @@
: QObject(), SlaveBase("kio_kmd", pool_socket, app_socket)
{
kdDebug() << "kio_kmdProtocol::kio_kmdProtocol()" << endl;
- kdDebug() << "init finished" << endl;
}
/*
----------------------------------------------------------------------------------
*/
@@ -73,6 +72,8 @@
kdDebug() << "myURL: " << url.prettyURL() << endl;
+ if(url.prettyURL() == "kmd:wait") { mimeType("text/html"); finished();
return; }
+
mimeType("text/html");
kdDebug() << "0" << endl;
@@ -88,8 +89,11 @@
http->setHost("www.trolltech.com");
requestNr = http->get("/index.html");
kdDebug() << "request id: " << requestNr << endl;
- while(!isFinished)
+ while(!isFinished) {
+ kdDebug() << "process events" << endl;
loop->processEvents(QEventLoop::WaitForMore);
+ }
+ kdDebug() << "done" << endl;
}