From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- tdesu/tdesu/tdesu.cpp | 10 +++++----- tdesu/tdesud/tdesud.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdesu') diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp index 8ea82fbbd..97fb0fbfa 100644 --- a/tdesu/tdesu/tdesu.cpp +++ b/tdesu/tdesu/tdesu.cpp @@ -106,8 +106,8 @@ int main(int argc, char *argv[]) aboutData.addAuthor("Pietro Iglio", I18N_NOOP("Original author"), "iglio@fub.it"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); KApplication::disableAutoDcopRegistration(); // tdesu doesn't process SM events, so don't even connect to ksmserver TQCString session_manager = getenv( "SESSION_MANAGER" ); @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) static int startApp() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // Stop daemon and exit? if (args->isSet("s")) { @@ -205,7 +205,7 @@ static int startApp() int priority = tmp.toInt(&ok); if (!ok || (priority < 0) || (priority > 100)) { - KCmdLineArgs::usage(i18n("Illegal priority: %1").arg(static_cast(tmp))); + TDECmdLineArgs::usage(i18n("Illegal priority: %1").arg(static_cast(tmp))); exit(1); } int scheduler = SuProcess::SchedNormal; @@ -233,7 +233,7 @@ static int startApp() { if( args->count() == 0 ) { - KCmdLineArgs::usage(i18n("No command specified.")); + TDECmdLineArgs::usage(i18n("No command specified.")); exit(1); } command = args->arg(0); diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp index 596e2e842..7d425e971 100644 --- a/tdesu/tdesud/tdesud.cpp +++ b/tdesu/tdesud/tdesud.cpp @@ -257,7 +257,7 @@ int main(int argc, char *argv[]) "Copyright (c) 1999,2000 Geert Jansen"); aboutData.addAuthor("Geert Jansen", I18N_NOOP("Author"), "jansen@kde.org", "http://www.stack.nl/~geertj/"); - KCmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::init(argc, argv, &aboutData); KInstance instance(&aboutData); // Set core dump size to 0 -- cgit v1.2.3