Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 09810ef275
commit a7d539bfac

@ -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