diff options
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 }; |