diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kdict/toplevel.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdict/toplevel.h')
-rw-r--r-- | kdict/toplevel.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdict/toplevel.h b/kdict/toplevel.h index cd8fa25d..bc803f75 100644 --- a/kdict/toplevel.h +++ b/kdict/toplevel.h @@ -17,7 +17,7 @@ #ifndef _TOPLEVEL_H_ #define _TOPLEVEL_H_ -#include <qtimer.h> +#include <tqtimer.h> #include <kmainwindow.h> #include "dcopinterface.h" @@ -43,7 +43,7 @@ class TopLevel : public KMainWindow, virtual public KDictIface public: - TopLevel(QWidget* parent = 0, const char* name = 0); + TopLevel(TQWidget* parent = 0, const char* name = 0); ~TopLevel(); void normalStartup(); // called when started without commandline parameters @@ -51,25 +51,25 @@ public: // DCOP-Interface... void quit(); void makeActiveWindow(); - void definePhrase(QString phrase); - void matchPhrase(QString phrase); + void definePhrase(TQString phrase); + void matchPhrase(TQString phrase); void defineClipboardContent(); void matchClipboardContent(); - QStringList getDatabases(); - QString currentDatabase(); - QStringList getStrategies(); - QString currentStrategy(); - bool setDatabase(QString db); - bool setStrategy(QString strategy); + TQStringList getDatabases(); + TQString currentDatabase(); + TQStringList getStrategies(); + TQString currentStrategy(); + bool setDatabase(TQString db); + bool setStrategy(TQString strategy); bool historyGoBack(); bool historyGoForward(); public slots: - void define(const QString &query); + void define(const TQString &query); void defineClipboard(); - void match(const QString &query); + void match(const TQString &query); void matchClipboard(); protected: @@ -103,13 +103,13 @@ private slots: void enableCopy(bool selected); void enablePrintSave(); - void clientStarted(const QString &message); - void clientStopped(const QString &message); + void clientStarted(const TQString &message); + void clientStopped(const TQString &message); void resetStatusbar(); void renderingStarted(); void renderingStopped(); - void newCaption(const QString&); + void newCaption(const TQString&); void toggleMatchListShow(); void saveMatchViewSize(); @@ -133,16 +133,16 @@ private: DictLabelAction *actQueryLabel, *actDbLabel; DictComboAction *actQueryCombo, *actDbCombo; DictButtonAction *actDefineBtn, *actMatchBtn; - QPtrList<KAction> historyActionList, dbActionList; + TQPtrList<KAction> historyActionList, dbActionList; KToolBarPopupAction *actBack, *actForward; - QSplitter *splitter; // widgets.... + TQSplitter *splitter; // widgets.... QueryView *queryView; MatchView *matchView; OptionsDialog *optDlg; DbSetsDialog *setsDlg; - QTimer resetStatusbarTimer; + TQTimer resetStatusbarTimer; int stopRef; // remember how many "clients" are running }; |