From c1e3b95ae6a113ba6548f2ac4d63f739a4f7055f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Nov 2024 22:58:31 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- kpager/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kpager/main.cpp') 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 +#include #include #include #include @@ -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; -- cgit v1.2.1