diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
commit | 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch) | |
tree | a2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /ksayit/KTTSD_Lib/kttsdlibtalker2.cpp | |
parent | 0285229d858c8f03cde7354c679a752598cf4515 (diff) | |
download | tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/KTTSD_Lib/kttsdlibtalker2.cpp')
-rw-r--r-- | ksayit/KTTSD_Lib/kttsdlibtalker2.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp b/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp index 808f8f2..c88a96b 100644 --- a/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp +++ b/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp @@ -13,7 +13,7 @@ #include <unistd.h> //sleep // Qt includes -#include <qstring.h> +#include <tqstring.h> // KDE includes #include <kdebug.h> @@ -21,22 +21,22 @@ // App specific includes #include "kttsdlibtalker2.h" -kttsdlibtalker2::kttsdlibtalker2(QObject *parent, const char *name) - : QObject(parent, name), DCOPStub("kttsd", "KSpeech") +kttsdlibtalker2::kttsdlibtalker2(TQObject *parent, const char *name) + : TQObject(parent, name), DCOPStub("kttsd", "KSpeech") { m_client = NULL; connectDCOPSignal("kttsd", "KSpeech", - "textStarted(QCString, uint)", - "textStarted(QCString, uint)", false); + "textStarted(TQCString, uint)", + "textStarted(TQCString, uint)", false); connectDCOPSignal("kttsd", "KSpeech", - "textFinished(QCString, uint)", - "textFinished(QCString, uint)", false); + "textFinished(TQCString, uint)", + "textFinished(TQCString, uint)", false); connectDCOPSignal("kttsd", "KSpeech", - "textStopped(QCString, uint)", - "textStopped(QCString, uint)", false); + "textStopped(TQCString, uint)", + "textStopped(TQCString, uint)", false); } @@ -52,8 +52,8 @@ void kttsdlibtalker2::KTTSD_init(KApplication *Appl) m_client = Appl->dcopClient(); if ( !m_client->isApplicationRegistered("kttsd")){ - QString error; - if ( Appl->startServiceByDesktopName("kttsd", QStringList(), &error) ){ + TQString error; + if ( Appl->startServiceByDesktopName("kttsd", TQStringList(), &error) ){ // throw(error); kdDebug() << "Starting KTTSD failed with message " << error << endl; } @@ -64,7 +64,7 @@ void kttsdlibtalker2::KTTSD_init(KApplication *Appl) } -uint kttsdlibtalker2::KTTSD_setText(const QString &text, QString lang) +uint kttsdlibtalker2::KTTSD_setText(const TQString &text, TQString lang) { kdDebug(100200) << "kttsdlibtalker2::KTTSD_setText()" << endl; uint jobNum = setText(text, lang); @@ -134,7 +134,7 @@ int kttsdlibtalker2::KTTSD_getCurrentTextJob() // DCOP signals //////////////////////////////////////////// -ASYNC kttsdlibtalker2::textStarted(const QCString &appID, +ASYNC kttsdlibtalker2::textStarted(const TQCString &appID, const uint jobNum) { kdDebug(100200) << "*** kttsdlibtalker2::textStarted()" << endl; @@ -144,7 +144,7 @@ ASYNC kttsdlibtalker2::textStarted(const QCString &appID, } -ASYNC kttsdlibtalker2::textFinished(const QCString &appID, +ASYNC kttsdlibtalker2::textFinished(const TQCString &appID, const uint jobNum) { kdDebug(100200) << "*** kttsdlibtalker2::textFinished()" << endl; @@ -154,7 +154,7 @@ ASYNC kttsdlibtalker2::textFinished(const QCString &appID, } -ASYNC kttsdlibtalker2::textStopped(const QCString &appID, +ASYNC kttsdlibtalker2::textStopped(const TQCString &appID, const uint jobNum) { kdDebug(100200) << "*** kttsdlibtalker2::textStopped()" << endl; |