diff options
Diffstat (limited to 'lib/kofficecore/KoSpeaker.cpp')
| -rw-r--r-- | lib/kofficecore/KoSpeaker.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kofficecore/KoSpeaker.cpp b/lib/kofficecore/KoSpeaker.cpp index c708dd564..3637b90b8 100644 --- a/lib/kofficecore/KoSpeaker.cpp +++ b/lib/kofficecore/KoSpeaker.cpp @@ -136,7 +136,7 @@ void KoSpeaker::probe() TQPoint pos; bool spoke = false; if ( d->m_speakFlags & SpeakFocusWidget ) { - w = kapp->focusWidget(); + w = tdeApp->focusWidget(); if (w) { spoke = maybeSayWidget(w); if (!spoke) @@ -145,7 +145,7 @@ void KoSpeaker::probe() } if ( !spoke && d->m_speakFlags & SpeakPointerWidget ) { pos = TQCursor::pos(); - w = kapp->widgetAt(pos, true); + w = tdeApp->widgetAt(pos, true); if (w) { if (!maybeSayWidget(w, pos)) emit customSpeakWidget(w, pos, d->m_speakFlags); @@ -481,12 +481,12 @@ bool KoSpeaker::sayWidget(const TQString& msg) bool KoSpeaker::startKttsd() { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); // If KTTSD not running, start it. if (!client->isApplicationRegistered("kttsd")) { TQString error; - if (kapp->startServiceByDesktopName("kttsd", TQStringList(), &error)) { + if (tdeApp->startServiceByDesktopName("kttsd", TQStringList(), &error)) { kdDebug() << "KoSpeaker::startKttsd: error starting KTTSD service: " << error << endl; d->m_enabled = false; } else @@ -502,7 +502,7 @@ TQString KoSpeaker::getKttsdVersion() // did not support version() method, so we must manually marshall this call ourselves. if (d->m_enabled) { if (!d->m_versionChecked) { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; @@ -520,7 +520,7 @@ TQString KoSpeaker::getKttsdVersion() void KoSpeaker::sayScreenReaderOutput(const TQString &msg, const TQString &talker) { if (msg.isEmpty()) return; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; @@ -535,7 +535,7 @@ void KoSpeaker::sayScreenReaderOutput(const TQString &msg, const TQString &talke uint KoSpeaker::setText(const TQString &text, const TQString &talker) { if (text.isEmpty()) return 0; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; @@ -555,7 +555,7 @@ uint KoSpeaker::setText(const TQString &text, const TQString &talker) int KoSpeaker::appendText(const TQString &text, uint jobNum /*=0*/) { if (text.isEmpty()) return 0; - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; @@ -574,7 +574,7 @@ int KoSpeaker::appendText(const TQString &text, uint jobNum /*=0*/) void KoSpeaker::startText(uint jobNum /*=0*/) { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; @@ -588,7 +588,7 @@ void KoSpeaker::startText(uint jobNum /*=0*/) void KoSpeaker::removeText(uint jobNum /*=0*/) { - DCOPClient *client = kapp->dcopClient(); + DCOPClient *client = tdeApp->dcopClient(); TQByteArray data; TQCString replyType; TQByteArray replyData; |
