From ef09a34f3a1bc5f9fb4631adf10f7067991b3220 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Nov 2024 22:58:09 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- kttsd/kttsd/main.cpp | 8 ++++---- kttsd/kttsmgr/kttsmgr.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kttsd') diff --git a/kttsd/kttsd/main.cpp b/kttsd/kttsd/main.cpp index 8c09dc4..621f9c3 100644 --- a/kttsd/kttsd/main.cpp +++ b/kttsd/kttsd/main.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ******************************************************************************/ -#include +#include #include #include #include @@ -46,14 +46,14 @@ int main (int argc, char *argv[]){ TDECmdLineArgs::init( argc, argv, &aboutdata ); // TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if(!KUniqueApplication::start()){ + if(!TDEUniqueApplication::start()){ kdDebug() << "KTTSD is already running" << endl; return (0); } - KUniqueApplication app; + TDEUniqueApplication app; // This app is started automatically, no need for session management app.disableSessionManagement(); // TODO: kspeech is obsolete. Use KSpeech instead. For backwards compatibility, diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index 6a369f0..d6e55ea 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -27,7 +27,7 @@ // KDE includes. #include -#include +#include #include #include #include @@ -70,15 +70,15 @@ int main (int argc, char *argv[]) TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if(!KUniqueApplication::start()) + if(!TDEUniqueApplication::start()) { kdDebug() << "kttsmgr is already running" << endl; return (0); } - KUniqueApplication app; + TDEUniqueApplication app; #if TDE_VERSION >= TDE_MAKE_VERSION (3,3,90) TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Panel); -- cgit v1.2.1