summaryrefslogtreecommitdiffstats
path: root/kttsd
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:14:36 -0600
commit98ed486e2f25cfd58e6cc036862bcac0e988f361 (patch)
tree23b89d4f0244fad16b66aeca0b23f9dd0053fc7e /kttsd
parent7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7 (diff)
downloadtdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.tar.gz
tdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kttsd')
-rw-r--r--kttsd/compat/interfaces/kspeech/kspeech.h2
-rw-r--r--kttsd/filters/main.cpp2
-rw-r--r--kttsd/kcmkttsmgr/kcmkttsmgr.cpp2
-rw-r--r--kttsd/kttsmgr/kttsmgr.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/kttsd/compat/interfaces/kspeech/kspeech.h b/kttsd/compat/interfaces/kspeech/kspeech.h
index fac9a7e..d217b89 100644
--- a/kttsd/compat/interfaces/kspeech/kspeech.h
+++ b/kttsd/compat/interfaces/kspeech/kspeech.h
@@ -219,7 +219,7 @@
client->attach();
if (!client->isApplicationRegistered("kttsd")) {
TQString error;
- if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
+ if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
cout << "Starting KTTSD failed with message " << error << endl;
}
@endverbatim
diff --git a/kttsd/filters/main.cpp b/kttsd/filters/main.cpp
index 35cdb31..fa6b170 100644
--- a/kttsd/filters/main.cpp
+++ b/kttsd/filters/main.cpp
@@ -69,7 +69,7 @@ int main(int argc, char *argv[])
// Tell which options are supported
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app( false, false );
+ TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
index d6addf9..b07a885 100644
--- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
+++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
@@ -1764,7 +1764,7 @@ void KCMKttsMgr::enableKttsdToggled(bool)
{
// kdDebug() << "KCMKttsMgr::enableKttsdToggled:: Starting KTTSD" << endl;
TQString error;
- if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
+ if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
{
kdDebug() << "Starting KTTSD failed with message " << error << endl;
m_kttsmgrw->enableKttsdCheckBox->setChecked(false);
diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp
index e4ceb7c..877c012 100644
--- a/kttsd/kttsmgr/kttsmgr.cpp
+++ b/kttsd/kttsmgr/kttsmgr.cpp
@@ -284,7 +284,7 @@ void KttsMgrTray::speakClipboardSelected()
if (!isKttsdRunning())
{
TQString error;
- if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error) != 0)
+ if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error) != 0)
kdError() << "Starting KTTSD failed with message " << error << endl;
}
speakClipboard();