diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-09 22:20:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-09 22:20:20 +0900 |
commit | 7f316812cdae6c68bd2504f61fd95a7f340da485 (patch) | |
tree | 8c9fbbe46f714f3af47ea1c3ea1f28bc1a866907 /src/main.cpp | |
parent | 4af42e99a7792d0bf0f3db849431c00d23d7d2b5 (diff) | |
download | qalculate-tde-master.tar.gz qalculate-tde-master.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index dc58a17..9ebaa7d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,7 @@ #include "preferences.h" #include <string> #include <twin.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdeaboutdata.h> #include <tdecmdlineargs.h> #include <tdelocale.h> @@ -77,7 +77,7 @@ extern TQValueVector<TQString> recent_units_pre; TQTimer *error_timer; -void create_qalculate_window(KUniqueApplication *parent) { +void create_qalculate_window(TDEUniqueApplication *parent) { TQTextCodec::setCodecForCStrings(TQTextCodec::codecForName("utf8")); @@ -223,7 +223,7 @@ void start_qalculate() { } -class QalculateApp : public KUniqueApplication { +class QalculateApp : public TDEUniqueApplication { public: @@ -276,7 +276,7 @@ public: start_qalculate(); } started = true; - return KUniqueApplication::newInstance(); + return TDEUniqueApplication::newInstance(); } started = true; return 0; @@ -292,7 +292,7 @@ int main(int argc, char **argv) { about.addAuthor("Niklas Knutsson", 0, "nq@altern.org"); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); if(!QalculateApp::start()) { return 0; |