diff options
Diffstat (limited to 'src/kchmindexwindow.h')
-rw-r--r-- | src/kchmindexwindow.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/kchmindexwindow.h b/src/kchmindexwindow.h index 1067c4e..a8cedbd 100644 --- a/src/kchmindexwindow.h +++ b/src/kchmindexwindow.h @@ -23,39 +23,40 @@ #define KCHMINDEXWINDOW_H -#include <qlineedit.h> -#include <qlistview.h> +#include <tqlineedit.h> +#include <tqlistview.h> /** @author Georgy Yunaev */ -class KCHMIndexWindow : public QWidget +class KCHMIndexWindow : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KCHMIndexWindow ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ); + KCHMIndexWindow ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 ); - void invalidate(); - void search( const QString& index ); + void tqinvalidate(); + void search( const TQString& index ); public slots: - void slotContextMenuRequested ( QListViewItem *item, const QPoint &point, int column ); + void slotContextMenuRequested ( TQListViewItem *item, const TQPoint &point, int column ); private slots: - void onTextChanged ( const QString & newvalue); + void onTextChanged ( const TQString & newvalue); void onReturnPressed (); - void onDoubleClicked ( QListViewItem *, const QPoint &, int); + void onDoubleClicked ( TQListViewItem *, const TQPoint &, int); private: - virtual void showEvent ( QShowEvent * ); + virtual void showEvent ( TQShowEvent * ); void refillIndex(); - QLineEdit * m_indexFinder; + TQLineEdit * m_indexFinder; KQListView * m_indexList; - KQPopupMenu * m_contextMenu; - QListViewItem * m_lastSelectedItem; + KTQPopupMenu * m_contextMenu; + TQListViewItem * m_lastSelectedItem; bool m_indexListFilled; }; |