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