diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dcop/tests/driver.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/tests/driver.cpp')
-rw-r--r-- | dcop/tests/driver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dcop/tests/driver.cpp b/dcop/tests/driver.cpp index ac06d2873..147d2a748 100644 --- a/dcop/tests/driver.cpp +++ b/dcop/tests/driver.cpp @@ -3,8 +3,8 @@ #include <iostream> #include <dcopclient.h> #include <kcmdlineargs.h> -#include <qtimer.h> -#include <qtimer.h> +#include <tqtimer.h> +#include <tqtimer.h> using namespace std; @@ -20,7 +20,7 @@ Driver::Driver(const char* app) } -QTextStream output( fopen( "driver.returns", "w" ) , IO_WriteOnly ); +TQTextStream output( fopen( "driver.returns", "w" ) , IO_WriteOnly ); #include <iostream> void Driver::test() { @@ -39,7 +39,7 @@ void Driver::test() } ++count; - QTimer::singleShot( 100, this, SLOT( test() ) ); + TQTimer::singleShot( 100, this, TQT_SLOT( test() ) ); } #include "driver.moc" @@ -58,7 +58,7 @@ int main(int argc, char** argv) app.dcopClient()->attach( ); app.dcopClient()->registerAs( "TestAppDriver" ); Driver * object = new Driver( appname ); - QTimer::singleShot( 10, object, SLOT( test() ) ); + TQTimer::singleShot( 10, object, TQT_SLOT( test() ) ); return app.exec(); } |