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
commita7d539bfac143d4a9ef3e0d18f1ba5fb5bb152d2 (patch)
tree9797b0043b1f663381c4f7ee0ca746539cc65a9f
parent09810ef2755ac44ef2ada69213a68794f4b126e1 (diff)
downloadtdepowersave-a7d539bfac143d4a9ef3e0d18f1ba5fb5bb152d2.tar.gz
tdepowersave-a7d539bfac143d4a9ef3e0d18f1ba5fb5bb152d2.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");