summaryrefslogtreecommitdiffstats
path: root/kttsd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-09 22:58:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-09 23:04:58 +0900
commitef09a34f3a1bc5f9fb4631adf10f7067991b3220 (patch)
tree9a1cf102c07ab6d3aebfb4a9bf2ca4a4c8a72498 /kttsd
parentb904ec9c8866fa97a712e29e1c530a9c07d5f80c (diff)
downloadtdeaccessibility-ef09a34f3a1bc5f9fb4631adf10f7067991b3220.tar.gz
tdeaccessibility-ef09a34f3a1bc5f9fb4631adf10f7067991b3220.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kttsd')
-rw-r--r--kttsd/kttsd/main.cpp8
-rw-r--r--kttsd/kttsmgr/kttsmgr.cpp8
2 files changed, 8 insertions, 8 deletions
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 <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
@@ -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 <tdeconfig.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include <kcmultidialog.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
@@ -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);