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 /kpager | |
parent | 657e8ed6bdc71ab1ae238bdf61a9377cff768e38 (diff) | |
download | tdebase-c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f.tar.gz tdebase-c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f.zip |
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpager')
-rw-r--r-- | kpager/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpager/main.cpp b/kpager/main.cpp index 20c8e268d..10c4b2780 100644 --- a/kpager/main.cpp +++ b/kpager/main.cpp @@ -21,7 +21,7 @@ ***************************************************************************/ -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdelocale.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> @@ -40,10 +40,10 @@ static TDECmdLineOptions pagerOpts[] = bool closed_by_sm = false; -class KPagerApplication : public KUniqueApplication +class KPagerApplication : public TDEUniqueApplication { public: - KPagerApplication() : KUniqueApplication() {} + KPagerApplication() : TDEUniqueApplication() {} void commitData(TQSessionManager& sm) { if (mainWidget()->isHidden()) { @@ -51,7 +51,7 @@ public: return; } closed_by_sm = true; - KUniqueApplication::commitData( sm ); + TDEUniqueApplication::commitData( sm ); closed_by_sm = false; } @@ -78,9 +78,9 @@ int main(int argc, char **argv) TDECmdLineArgs::init(argc, argv, aboutdata); TDECmdLineArgs::addCmdLineOptions(pagerOpts); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { kdError() << "kpager is already running!" << endl; return 0; |