Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 12f5980917
commit eddd76a229

@ -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");

Loading…
Cancel
Save