diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:17:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:17:08 +0000 |
commit | f138d74fe16092003b06f5bde9663841929cde7f (patch) | |
tree | e9c497a0e59bc7d34264ac9404740d2ea76f3de4 /kttsd/kttsd/speaker.h | |
parent | 3a3c4b256baee79bdcfe72c5e01b9ded9b525900 (diff) | |
download | tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.tar.gz tdeaccessibility-f138d74fe16092003b06f5bde9663841929cde7f.zip |
TQt4 port kdeaccessibility
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/kttsd/speaker.h')
-rw-r--r-- | kttsd/kttsd/speaker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kttsd/kttsd/speaker.h b/kttsd/kttsd/speaker.h index 6c81ada..04e2190 100644 --- a/kttsd/kttsd/speaker.h +++ b/kttsd/kttsd/speaker.h @@ -23,7 +23,7 @@ #ifndef _SPEAKER_H_ #define _SPEAKER_H_ -// Qt includes. +// TQt includes. #include <tqobject.h> #include <tqvaluevector.h> #include <tqevent.h> @@ -109,8 +109,9 @@ const int timerInterval = 500; * This class is in charge of getting the messages, warnings and text from * the queue and call the plug ins function to actually speak the texts. */ -class Speaker : public QObject{ +class Speaker : public TQObject{ Q_OBJECT + TQ_OBJECT public: /** @@ -118,7 +119,7 @@ class Speaker : public QObject{ * Calls load plug ins */ Speaker(SpeechData* speechData, TalkerMgr* talkerMgr, - TQObject *parent = 0, const char *name = 0); + TQObject *tqparent = 0, const char *name = 0); /** * Destructor @@ -429,7 +430,7 @@ class Speaker : public QObject{ bool isSsml(const TQString &text); /** - * Determines the initial state of an utterance. If the utterance contains + * Determines the initial state of an utterance. If the utterance tqcontains * SSML, the state is set to usWaitingTransform. Otherwise, if the plugin * supports async synthesis, sets to usWaitingSynth, otherwise usWaitingSay. * If an utterance has already been transformed, usWaitingTransform is |