summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:43 -0600
commitd41050ea3f6904e5156d35f664346b816b9e4d12 (patch)
tree7b3ff517432a631adc61a2a93080dc3bacfab604 /tdesu
parentc16d0f2191af1e4810391dbd1a06d7713fb38666 (diff)
downloadtdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.tar.gz
tdebase-d41050ea3f6904e5156d35f664346b816b9e4d12.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/tdesu/tdesu.cpp10
-rw-r--r--tdesu/tdesud/tdesud.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp
index 8ea82fbb..97fb0fbf 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<const char *>(tmp)));
+ TDECmdLineArgs::usage(i18n("Illegal priority: %1").arg(static_cast<const char *>(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 596e2e84..7d425e97 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