From 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:20:30 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmouth/phraselist.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kmouth/phraselist.h') diff --git a/kmouth/phraselist.h b/kmouth/phraselist.h index 7f56306..702e135 100644 --- a/kmouth/phraselist.h +++ b/kmouth/phraselist.h @@ -24,8 +24,8 @@ #include // include files for Qt -#include -#include +#include +#include class WordCompletion; @@ -38,16 +38,16 @@ class WordCompletion; * @author Gunnar Schmi Dt */ -class PhraseList : public QWidget { +class PhraseList : public TQWidget { Q_OBJECT public: - PhraseList(QWidget *parent=0, const char *name=0); + PhraseList(TQWidget *parent=0, const char *name=0); ~PhraseList(); /** contains the implementation for printing functionality */ void print(KPrinter *pPrinter); - QStringList getListSelection(); + TQStringList getListSelection(); bool existListSelection(); bool existEditSelection(); @@ -61,7 +61,7 @@ public slots: void paste(); /** Insert s into the edit field. */ - void insert (const QString &s); + void insert (const TQString &s); /** Called whenever the user wants the selected list entries to be spoken. */ void speakListSelection (); @@ -83,26 +83,26 @@ public slots: void readCompletionOptions(KConfig *config); protected slots: - void lineEntered (const QString &phrase); - void contextMenuRequested (QListBoxItem *, const QPoint &pos); - void textChanged (const QString &s); + void lineEntered (const TQString &phrase); + void contextMenuRequested (TQListBoxItem *, const TQPoint &pos); + void textChanged (const TQString &s); void selectionChanged (); - void keyPressEvent (QKeyEvent *e); - void configureCompletionCombo(const QStringList &list); + void keyPressEvent (TQKeyEvent *e); + void configureCompletionCombo(const TQStringList &list); private: KListBox *listBox; KComboBox *dictionaryCombo; KLineEdit *lineEdit; - QPushButton *speakButton; - QString line; + TQPushButton *speakButton; + TQString line; WordCompletion *completion; bool isInSlot; - void speakPhrase (const QString &phrase); - void setEditLineText(const QString &s); - void insertIntoPhraseList (const QString &phrase, bool clearEditLine); + void speakPhrase (const TQString &phrase); + void setEditLineText(const TQString &s); + void insertIntoPhraseList (const TQString &phrase, bool clearEditLine); void enableMenuEntries (); }; -- cgit v1.2.1