diff options
Diffstat (limited to 'kttsd/kttsjobmgr/kttsjobmgr.h')
-rw-r--r-- | kttsd/kttsjobmgr/kttsjobmgr.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kttsd/kttsjobmgr/kttsjobmgr.h b/kttsd/kttsjobmgr/kttsjobmgr.h index 6bb4898..a49e8f8 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.h +++ b/kttsd/kttsjobmgr/kttsjobmgr.h @@ -41,9 +41,9 @@ public: KttsJobMgrFactory() {}; virtual ~KttsJobMgrFactory(); - virtual QObject* createObject(QObject* parent = 0, const char* name = 0, - const char* classname = "QObject", - const QStringList &args = QStringList()); + virtual TQObject* createObject(TQObject* parent = 0, const char* name = 0, + const char* classname = "TQObject", + const TQStringList &args = TQStringList()); static KInstance *instance(); static KAboutData *aboutData(); @@ -59,7 +59,7 @@ class KttsJobMgrPart: { Q_OBJECT public: - KttsJobMgrPart(QWidget *parent, const char *name); + KttsJobMgrPart(TQWidget *parent, const char *name); virtual ~KttsJobMgrPart(); protected: @@ -78,7 +78,7 @@ protected: * @param markerName The name of the marker seen. * @see markers */ - ASYNC markerSeen(const QCString& appId, const QString& markerName); + ASYNC markerSeen(const TQCString& appId, const TQString& markerName); /** * This signal is emitted whenever a sentence begins speaking. * @param appId DCOP application ID of the application that queued the text. @@ -86,7 +86,7 @@ protected: * @param seq Sequence number of the text. * @see getTextCount */ - ASYNC sentenceStarted(const QCString& appId, const uint jobNum, const uint seq); + ASYNC sentenceStarted(const TQCString& appId, const uint jobNum, const uint seq); /** * This signal is emitted when a sentence has finished speaking. * @param appId DCOP application ID of the application that queued the text. @@ -94,14 +94,14 @@ protected: * @param seq Sequence number of the text. * @see getTextCount */ - ASYNC sentenceFinished(const QCString& appId, const uint jobNum, const uint seq); + ASYNC sentenceFinished(const TQCString& appId, const uint jobNum, const uint seq); /** * This signal is emitted whenever a new text job is added to the queue. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textSet(const QCString& appId, const uint jobNum); + ASYNC textSet(const TQCString& appId, const uint jobNum); /** * This signal is emitted whenever a new part is appended to a text job. @@ -110,14 +110,14 @@ protected: * @param partNum Part number of the new part. Parts are numbered starting * at 1. */ - ASYNC textAppended(const QCString& appId, const uint jobNum, const int partNum); + ASYNC textAppended(const TQCString& appId, const uint jobNum, const int partNum); /** * This signal is emitted whenever speaking of a text job begins. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textStarted(const QCString& appId, const uint jobNum); + ASYNC textStarted(const TQCString& appId, const uint jobNum); /** * This signal is emitted whenever a text job is finished. The job has * been marked for deletion from the queue and will be deleted when another @@ -127,38 +127,38 @@ protected: * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textFinished(const QCString& appId, const uint jobNum); + ASYNC textFinished(const TQCString& appId, const uint jobNum); /** * This signal is emitted whenever a speaking text job stops speaking. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textStopped(const QCString& appId, const uint jobNum); + ASYNC textStopped(const TQCString& appId, const uint jobNum); /** * This signal is emitted whenever a speaking text job is paused. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textPaused(const QCString& appId, const uint jobNum); + ASYNC textPaused(const TQCString& appId, const uint jobNum); /** * This signal is emitted when a text job, that was previously paused, resumes speaking. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textResumed(const QCString& appId, const uint jobNum); + ASYNC textResumed(const TQCString& appId, const uint jobNum); /** * This signal is emitted whenever a text job is deleted from the queue. * The job is no longer in the queue when this signal is emitted. * @param appId The DCOP senderId of the application that created the job. NULL if kttsd. * @param jobNum Job number of the text job. */ - ASYNC textRemoved(const QCString& appId, const uint jobNum); + ASYNC textRemoved(const TQCString& appId, const uint jobNum); private slots: /** * This slot is connected to the Job List View selectionChanged signal. */ - void slot_selectionChanged(QListViewItem* item); + void slot_selectionChanged(TQListViewItem* item); /** * Slots connected to buttons. */ @@ -198,7 +198,7 @@ private: * @param state KTTSD job state * @return Display string for the state. */ - QString stateToStr(int state); + TQString stateToStr(int state); /** * Get the Job Number of the currently-selected job in the Job List View. @@ -217,9 +217,9 @@ private: /** * Given a Job Number, returns the Job List View item containing the job. * @param jobNum Job Number. - * @return QListViewItem containing the job or 0 if not found. + * @return TQListViewItem containing the job or 0 if not found. */ - QListViewItem* findItemByJobNum(const uint jobNum); + TQListViewItem* findItemByJobNum(const uint jobNum); /** * Enables or disables all the job-related buttons. @@ -255,7 +255,7 @@ private: * @param talkerCode Talker Code. * @return Talker ID. */ - QString cachedTalkerCodeToTalkerID(const QString& talkerCode); + TQString cachedTalkerCodeToTalkerID(const TQString& talkerCode); /** * Job ListView. @@ -271,7 +271,7 @@ private: /** * Box containing buttons. */ - QVBox* m_buttonBox; + TQVBox* m_buttonBox; /** * This flag is set to True whenever we want to select the next job that @@ -282,7 +282,7 @@ private: /** * Cache mapping Talker Codes to Talker IDs. */ - QMap<QString,QString> m_talkerCodesToTalkerIDs; + TQMap<TQString,TQString> m_talkerCodesToTalkerIDs; }; class KttsJobMgrBrowserExtension : public KParts::BrowserExtension |