summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsearchwindow.h')
-rw-r--r--src/kchmsearchwindow.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/kchmsearchwindow.h b/src/kchmsearchwindow.h
index 1834165..fbbf3f5 100644
--- a/src/kchmsearchwindow.h
+++ b/src/kchmsearchwindow.h
@@ -34,12 +34,13 @@
class KCHMSearchEngine;
-class KCHMClickableLabel : public QLabel
+class KCHMClickableLabel : public TQLabel
{
Q_OBJECT
+ TQ_OBJECT
public:
- KCHMClickableLabel( const QString& label, QWidget * parent )
- : QLabel( label, parent ) {};
+ KCHMClickableLabel( const TQString& label, TQWidget * tqparent )
+ : TQLabel( label, tqparent ) {};
virtual ~KCHMClickableLabel() {};
@@ -47,37 +48,38 @@ class KCHMClickableLabel : public QLabel
void clicked();
protected:
- virtual void mousePressEvent ( QMouseEvent * ) { emit clicked(); }
+ virtual void mousePressEvent ( TQMouseEvent * ) { emit clicked(); }
};
-class KCHMSearchWindow : public QWidget
+class KCHMSearchWindow : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KCHMSearchWindow ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 );
+ KCHMSearchWindow ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 );
- void invalidate();
+ void tqinvalidate();
void restoreSettings (const KCHMSettings::search_saved_settings_t& settings);
void saveSettings (KCHMSettings::search_saved_settings_t& settings);
- void execSearchQueryInGui( const QString& query );
- bool searchQuery( const QString& query, QStringList * results );
+ void execSearchQueryInGui( const TQString& query );
+ bool searchQuery( const TQString& query, TQStringList * results );
public slots:
- void slotContextMenuRequested ( QListViewItem *item, const QPoint &point, int column );
+ void slotContextMenuRequested ( TQListViewItem *item, const TQPoint &point, int column );
private slots:
void onHelpClicked();
void onReturnPressed ();
- void onDoubleClicked ( QListViewItem *, const QPoint &, int);
+ void onDoubleClicked ( TQListViewItem *, const TQPoint &, int);
private:
bool initSearchEngine();
private:
- QComboBox * m_searchQuery;
+ TQComboBox * m_searchQuery;
KQListView * m_searchList;
- KQPopupMenu * m_contextMenu;
+ KTQPopupMenu * m_contextMenu;
KCHMSearchEngine* m_searchEngine;
};