summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:30 -0600
commiteddd76a229de753121d0d362b9c2365a2ac1ae02 (patch)
tree0b82c6cb4dfb63bb1845298fadfc63e791b25619
parent12f5980917ad65c319887908ead3299c874dbfc8 (diff)
downloadkpowersave-eddd76a229de753121d0d362b9c2365a2ac1ae02.tar.gz
kpowersave-eddd76a229de753121d0d362b9c2365a2ac1ae02.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6e4636d..21a4550 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,11 +69,11 @@ int kdemain(int argc, char **argv)
about.setHomepage("http://sourceforge.net/projects/powersave");
about.setTranslator("_: NAME OF TRANSLATORS\\nYour names","_: EMAIL OF TRANSLATORS\\nYour emails");
- KCmdLineArgs::init(argc, argv, &about);
- KCmdLineArgs::addCmdLineOptions (options);
+ TDECmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::addCmdLineOptions (options);
KUniqueApplication::addCmdLineOptions();
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (!KUniqueApplication::start()) {
fprintf(stderr, "KPowersave is already running!\n");