diff options
Diffstat (limited to 'kmenuedit')
-rw-r--r-- | kmenuedit/kcontrol_main.cpp | 8 | ||||
-rw-r--r-- | kmenuedit/main.cpp | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/kmenuedit/kcontrol_main.cpp b/kmenuedit/kcontrol_main.cpp index 31f6b002e..0a6169d24 100644 --- a/kmenuedit/kcontrol_main.cpp +++ b/kmenuedit/kcontrol_main.cpp @@ -21,7 +21,7 @@ #include <unistd.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdelocale.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> @@ -43,12 +43,12 @@ extern "C" int TDE_EXPORT kdemain( int argc, char **argv ) aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org"); TDECmdLineArgs::init( argc, argv, &aboutData ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) return 1; - KUniqueApplication app; + TDEUniqueApplication app; KMenuEdit *menuEdit = new KMenuEdit(true); menuEdit->show(); diff --git a/kmenuedit/main.cpp b/kmenuedit/main.cpp index 4d55eb4e2..69440e946 100644 --- a/kmenuedit/main.cpp +++ b/kmenuedit/main.cpp @@ -20,7 +20,7 @@ #include <unistd.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdelocale.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> @@ -40,7 +40,7 @@ static const TDECmdLineOptions options[] = static KMenuEdit *menuEdit = 0; -class KMenuApplication : public KUniqueApplication +class KMenuApplication : public TDEUniqueApplication { public: KMenuApplication() { } @@ -57,7 +57,7 @@ public: menuEdit->selectMenuEntry(TQString::fromLocal8Bit(args->arg(1))); } } - return KUniqueApplication::newInstance(); + return TDEUniqueApplication::newInstance(); } }; @@ -72,10 +72,10 @@ extern "C" int TDE_EXPORT kdemain( int argc, char **argv ) aboutData.addAuthor("Matthias Elter", I18N_NOOP("Original Author"), "elter@kde.org"); TDECmdLineArgs::init( argc, argv, &aboutData ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); TDECmdLineArgs::addCmdLineOptions( options ); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) return 1; KMenuApplication app; |