From 59e9205d8b8ef073a918e4e9eff9b258615adca4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Nov 2024 22:58:20 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- knetworkconf/knetworkconf/main.cpp | 1 - ksysv/ksvapplication.h | 4 ++-- ksysv/main.cpp | 4 ++-- secpolicy/main.cpp | 6 +++--- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/knetworkconf/knetworkconf/main.cpp b/knetworkconf/knetworkconf/main.cpp index ec5c4f4..6baba68 100644 --- a/knetworkconf/knetworkconf/main.cpp +++ b/knetworkconf/knetworkconf/main.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/ksysv/ksvapplication.h b/ksysv/ksvapplication.h index 5da7ab6..dcbc502 100644 --- a/ksysv/ksvapplication.h +++ b/ksysv/ksvapplication.h @@ -3,9 +3,9 @@ #ifndef KSVAPPLICATION_H #define KSVAPPLICATION_H -#include +#include -class KSVApplication : public KUniqueApplication +class KSVApplication : public TDEUniqueApplication { TQ_OBJECT diff --git a/ksysv/main.cpp b/ksysv/main.cpp index ad7f8bf..5e7c2c7 100644 --- a/ksysv/main.cpp +++ b/ksysv/main.cpp @@ -66,9 +66,9 @@ int main( int argc, char **argv ) { ksv::about = &about; TDECmdLineArgs::init(argc, argv, &about); - KUniqueApplication::addCmdLineOptions (); + TDEUniqueApplication::addCmdLineOptions (); - if (!KUniqueApplication::start()) { + if (!TDEUniqueApplication::start()) { cerr << "SysV-Init Editor is already running!" << endl; return -1; } diff --git a/secpolicy/main.cpp b/secpolicy/main.cpp index 1071f04..5b82ee5 100644 --- a/secpolicy/main.cpp +++ b/secpolicy/main.cpp @@ -22,7 +22,7 @@ * */ -#include +#include #include #include #include @@ -44,10 +44,10 @@ int main(int argc, char **argv) TDECmdLineArgs::init( argc, argv, &aboutData ); aboutData.addAuthor( "Preston Brown", 0, "pbrown@kde.org"); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) exit(0); - KUniqueApplication app; + TDEUniqueApplication app; SecPolicyWin *spWin = new SecPolicyWin(); app.setMainWidget(spWin); -- cgit v1.2.1