diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-09 22:58:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-20 14:26:15 +0900 |
commit | c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f (patch) | |
tree | f942598c69da9c19df6618f25d16ea9dcbe0a30f /kmenuedit | |
parent | 657e8ed6bdc71ab1ae238bdf61a9377cff768e38 (diff) | |
download | tdebase-master.tar.gz tdebase-master.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; |