diff options
Diffstat (limited to 'dcop/tests')
-rw-r--r-- | dcop/tests/driver.cpp | 4 | ||||
-rw-r--r-- | dcop/tests/driver.h | 2 | ||||
-rw-r--r-- | dcop/tests/testcases | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/dcop/tests/driver.cpp b/dcop/tests/driver.cpp index a129d7d6f..74dee9edd 100644 --- a/dcop/tests/driver.cpp +++ b/dcop/tests/driver.cpp @@ -39,7 +39,7 @@ void Driver::test() } ++count; - TQTimer::singleShot( 100, this, TQT_SLOT( test() ) ); + TQTimer::singleShot( 100, this, TQ_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 ); - TQTimer::singleShot( 10, object, TQT_SLOT( test() ) ); + TQTimer::singleShot( 10, object, TQ_SLOT( test() ) ); return app.exec(); } diff --git a/dcop/tests/driver.h b/dcop/tests/driver.h index 3565d88ab..654707c4f 100644 --- a/dcop/tests/driver.h +++ b/dcop/tests/driver.h @@ -7,7 +7,7 @@ class Driver : public TQObject, public Test_stub { - Q_OBJECT + TQ_OBJECT public: Driver(const char*); diff --git a/dcop/tests/testcases b/dcop/tests/testcases index e2357eb1c..e3bd2e3d0 100644 --- a/dcop/tests/testcases +++ b/dcop/tests/testcases @@ -19,7 +19,7 @@ # 2. First you put shell like argument: # "string with spaces" 4 string_without_spaces # Then you should put c++ style arguments: -# QString::fromLatin1("string with spaces"),4,"string_with_spaces" +# TQString::fromLatin1("string with spaces"),4,"string_with_spaces" # # Note that the first argument has type TQString and the last type const char* # (adapt accordingly) @@ -29,7 +29,7 @@ TQString url () { -return QString::fromLatin1( "http://www.kde.org/"); +return TQString::fromLatin1( "http://www.kde.org/"); } - @@ -63,7 +63,7 @@ identity { return x; } -"test";QString::fromLatin1("test") +"test";TQString::fromLatin1("test") // 2.3 unsigned long int unsigned long int |