Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 3 weeks ago
parent 4009c3417b
commit 5afd05bde8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -17,7 +17,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 network load meter for Kicker (the TDE panel)."); I18N_NOOP("A small network load meter for Kicker (the TDE panel).");
@ -60,14 +60,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("KNetLoad is already running.\n")); fprintf(stderr, I18N_NOOP("KNetLoad is already running.\n"));
return 1; return 1;
} }
KUniqueApplication app; TDEUniqueApplication app;
app.setMainWidget(new KNetLoad()); app.setMainWidget(new KNetLoad());
return app.exec(); return app.exec();
} }

Loading…
Cancel
Save