diff options
Diffstat (limited to 'dcop/tests')
-rw-r--r-- | dcop/tests/driver.cpp | 8 | ||||
-rw-r--r-- | dcop/tests/test.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/dcop/tests/driver.cpp b/dcop/tests/driver.cpp index 0c9513305..18b983829 100644 --- a/dcop/tests/driver.cpp +++ b/dcop/tests/driver.cpp @@ -1,8 +1,8 @@ #include "driver.h" -#include <kapplication.h> +#include <tdeapplication.h> #include <iostream> #include <dcopclient.h> -#include <kcmdlineargs.h> +#include <tdecmdlineargs.h> #include <tqtimer.h> #include <tqtimer.h> @@ -53,8 +53,8 @@ int main(int argc, char** argv) if ( argc < 2 ) { tqWarning("Usage: driver <appid>"); return 1; } const char* appname = strdup( argv[ 1 ] ); argv[ 1 ] = 0; // sue me - KCmdLineArgs::init( argc, argv, "TestAppDriver", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME - KApplication app; + TDECmdLineArgs::init( argc, argv, "TestAppDriver", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME + TDEApplication app; app.dcopClient()->attach( ); app.dcopClient()->registerAs( "TestAppDriver" ); Driver * object = new Driver( appname ); diff --git a/dcop/tests/test.cpp b/dcop/tests/test.cpp index 7f5114071..4a751c358 100644 --- a/dcop/tests/test.cpp +++ b/dcop/tests/test.cpp @@ -1,8 +1,8 @@ #include "test.h" -#include <kapplication.h> +#include <tdeapplication.h> #include <iostream> #include <dcopclient.h> -#include <kcmdlineargs.h> +#include <tdecmdlineargs.h> @@ -31,8 +31,8 @@ int main(int argc, char** argv) batch(); return 0; } - KCmdLineArgs::init( argc, argv, "TestApp", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME - KApplication app; + TDECmdLineArgs::init( argc, argv, "TestApp", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME + TDEApplication app; if(!app.dcopClient()->attach( )) return 1; |