Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 85843fdfd1
commit a2887c4527
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -16,7 +16,7 @@
#include <tdeaboutdata.h> #include <tdeaboutdata.h>
#include <tdecmdlineargs.h> #include <tdecmdlineargs.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
static const char *description = static const char *description =
I18N_NOOP("A small CPU usage meter for Kicker (the TDE panel)."); I18N_NOOP("A small CPU usage meter for Kicker (the TDE panel).");
@ -51,14 +51,14 @@ int main(int argc, char **argv) {
"being supportive and helpful!"); "being supportive and helpful!");
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
KUniqueApplication::addCmdLineOptions(); TDEUniqueApplication::addCmdLineOptions();
if (! KUniqueApplication::start()) { if (! TDEUniqueApplication::start()) {
fprintf(stderr, I18N_NOOP("KCPULoad is already running!\n")); fprintf(stderr, I18N_NOOP("KCPULoad is already running!\n"));
return 1; return 1;
} }
KUniqueApplication app; TDEUniqueApplication app;
app.setMainWidget(new KCPULoad()); app.setMainWidget(new KCPULoad());
return app.exec(); return app.exec();
} }

Loading…
Cancel
Save