diff options
Diffstat (limited to 'dcop/tests')
-rw-r--r-- | dcop/tests/driver.cpp | 10 | ||||
-rw-r--r-- | dcop/tests/driver.h | 4 | ||||
-rw-r--r-- | dcop/tests/test.cpp | 2 |
3 files changed, 8 insertions, 8 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(); } diff --git a/dcop/tests/driver.h b/dcop/tests/driver.h index ee4d5df57..3565d88ab 100644 --- a/dcop/tests/driver.h +++ b/dcop/tests/driver.h @@ -1,11 +1,11 @@ #ifndef _OPT_KDECVS_SRC_KDELIBS_DCOP_TEST_TESTER_H #define _OPT_KDECVS_SRC_KDELIBS_DCOP_TEST_TESTER_H #include "test_stub.h" -#include <qobject.h> +#include <tqobject.h> -class Driver : public QObject, public Test_stub +class Driver : public TQObject, public Test_stub { Q_OBJECT diff --git a/dcop/tests/test.cpp b/dcop/tests/test.cpp index 025230547..7f5114071 100644 --- a/dcop/tests/test.cpp +++ b/dcop/tests/test.cpp @@ -16,7 +16,7 @@ using namespace std; void batch() { - QTextStream output( fopen( "batch.returns", "w" ) , IO_WriteOnly ); + TQTextStream output( fopen( "batch.returns", "w" ) , IO_WriteOnly ); Test* object = new Test; #include "batch.generated" } |