|
|
@ -69,11 +69,11 @@ int kdemain(int argc, char **argv)
|
|
|
|
about.setHomepage("http://sourceforge.net/projects/powersave");
|
|
|
|
about.setHomepage("http://sourceforge.net/projects/powersave");
|
|
|
|
about.setTranslator("_: NAME OF TRANSLATORS\\nYour names","_: EMAIL OF TRANSLATORS\\nYour emails");
|
|
|
|
about.setTranslator("_: NAME OF TRANSLATORS\\nYour names","_: EMAIL OF TRANSLATORS\\nYour emails");
|
|
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
KCmdLineArgs::addCmdLineOptions (options);
|
|
|
|
TDECmdLineArgs::addCmdLineOptions (options);
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start()) {
|
|
|
|
if (!KUniqueApplication::start()) {
|
|
|
|
fprintf(stderr, "KPowersave is already running!\n");
|
|
|
|
fprintf(stderr, "KPowersave is already running!\n");
|
|
|
|