diff options
Diffstat (limited to 'kdict/matchview.h')
-rw-r--r-- | kdict/matchview.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kdict/matchview.h b/kdict/matchview.h index f619820e..7248c35c 100644 --- a/kdict/matchview.h +++ b/kdict/matchview.h @@ -17,7 +17,7 @@ #ifndef _MATCHVIEW_H_ #define _MATCHVIEW_H_ -#include <qlistview.h> +#include <tqlistview.h> class KPopupMenu; @@ -28,17 +28,17 @@ class MatchViewItem : public QListViewItem public: - MatchViewItem(QListView *view,const QString &text); - MatchViewItem(QListView *view,QListViewItem *after,const QString &text); - MatchViewItem(QListViewItem *item,const QString &text,const QString &commandStr); - MatchViewItem(QListViewItem *item,QListViewItem *after,const QString &text,const QString &commandStr); + MatchViewItem(TQListView *view,const TQString &text); + MatchViewItem(TQListView *view,TQListViewItem *after,const TQString &text); + MatchViewItem(TQListViewItem *item,const TQString &text,const TQString &commandStr); + MatchViewItem(TQListViewItem *item,TQListViewItem *after,const TQString &text,const TQString &commandStr); ~MatchViewItem(); void setOpen(bool o); - void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment); + void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment); - QString command; - QStringList subEntrys; + TQString command; + TQStringList subEntrys; }; @@ -51,36 +51,36 @@ class MatchView : public QWidget public: - MatchView(QWidget *parent=0,const char *name=0); + MatchView(TQWidget *parent=0,const char *name=0); ~MatchView(); void updateStrategyCombo(); - bool selectStrategy(const QString &strategy) const; - void match(const QString &query); + bool selectStrategy(const TQString &strategy) const; + void match(const TQString &query); signals: - void defineRequested(const QString &query); - void matchRequested(const QString &query); + void defineRequested(const TQString &query); + void matchRequested(const TQString &query); void clipboardRequested(); void windowClosed(); protected: - void closeEvent ( QCloseEvent * e ); + void closeEvent ( TQCloseEvent * e ); private slots: void strategySelected(int num); void enableGetButton(); - void mouseButtonPressed(int, QListViewItem *, const QPoint &, int); - void returnPressed(QListViewItem *i); - void getOneItem(QListViewItem *i); + void mouseButtonPressed(int, TQListViewItem *, const TQPoint &, int); + void returnPressed(TQListViewItem *i); + void getOneItem(TQListViewItem *i); void getSelected(); void getAll(); - void doGet(QStringList &defines); - void newList(const QStringList &matches); - void buildPopupMenu(QListViewItem *, const QPoint &, int); + void doGet(TQStringList &defines); + void newList(const TQStringList &matches); + void buildPopupMenu(TQListViewItem *, const TQPoint &, int); void popupGetCurrent(); void popupDefineCurrent(); void popupMatchCurrent(); @@ -91,15 +91,15 @@ private slots: private: - QComboBox *w_strat; - QListView *w_list; - QPushButton *w_get,*w_getAll; + TQComboBox *w_strat; + TQListView *w_list; + TQPushButton *w_get,*w_getAll; bool getOn, getAllOn; KPopupMenu *rightBtnMenu; MatchViewItem *popupCurrent; - QString popupClip; // needed for rightbtn-popup menu + TQString popupClip; // needed for rightbtn-popup menu }; #endif |