summaryrefslogtreecommitdiffstats
path: root/ksmserver
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver')
-rw-r--r--ksmserver/main.cpp6
-rw-r--r--ksmserver/test.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/ksmserver/main.cpp b/ksmserver/main.cpp
index 5108716f3..65c43253a 100644
--- a/ksmserver/main.cpp
+++ b/ksmserver/main.cpp
@@ -186,15 +186,15 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] )
aboutData.addAuthor("Matthias Ettrich",0, "[email protected]");
aboutData.addAuthor("Luboš Luňák", I18N_NOOP( "Maintainer" ), "[email protected]" );
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options );
putenv((char*)"SESSION_MANAGER=");
KApplication a(KApplication::openX11RGBADisplay(), false); // Disable styles until we need them.
fcntl(ConnectionNumber(tqt_xdisplay()), F_SETFD, 1);
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
kapp->dcopClient()->registerAs("ksmserver", false);
if (!kapp->dcopClient()->isRegistered())
diff --git a/ksmserver/test.cpp b/ksmserver/test.cpp
index 8f248725f..5a5e114c4 100644
--- a/ksmserver/test.cpp
+++ b/ksmserver/test.cpp
@@ -8,7 +8,7 @@ int
main(int argc, char *argv[])
{
KAboutData about("kapptest", "kapptest", "version");
- KCmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::init(argc, argv, &about);
KApplication a;
a.iconLoader()->addAppDir("ksmserver");