summaryrefslogtreecommitdiffstats
path: root/khelpcenter/searchwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khelpcenter/searchwidget.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khelpcenter/searchwidget.h')
-rw-r--r--khelpcenter/searchwidget.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/khelpcenter/searchwidget.h b/khelpcenter/searchwidget.h
index 1200bcfab..158cfb3ad 100644
--- a/khelpcenter/searchwidget.h
+++ b/khelpcenter/searchwidget.h
@@ -21,7 +21,7 @@
#ifndef __searchwidget_h__
#define __searchwidget_h__
-#include <qwidget.h>
+#include <tqwidget.h>
#include <dcopobject.h>
@@ -42,7 +42,7 @@ namespace KHC {
class ScopeItem;
class SearchEngine;
-class SearchWidget : public QWidget, public DCOPObject
+class SearchWidget : public TQWidget, public DCOPObject
{
Q_OBJECT
K_DCOP
@@ -51,18 +51,18 @@ class SearchWidget : public QWidget, public DCOPObject
ASYNC searchIndexUpdated(); // called from kcmhelpcenter
public:
- SearchWidget ( SearchEngine *, QWidget *parent = 0 );
+ SearchWidget ( SearchEngine *, TQWidget *parent = 0 );
~SearchWidget();
- QString method();
+ TQString method();
int pages();
- QString scope();
+ TQString scope();
- QListView *listView() { return mScopeListView; }
+ TQListView *listView() { return mScopeListView; }
enum { ScopeDefault, ScopeAll, ScopeNone, ScopeCustom, ScopeNum };
- QString scopeSelectionLabel( int ) const;
+ TQString scopeSelectionLabel( int ) const;
void readConfig( KConfig * );
void writeConfig( KConfig * );
@@ -72,7 +72,7 @@ class SearchWidget : public QWidget, public DCOPObject
SearchEngine *engine() const { return mEngine; }
signals:
- void searchResult( const QString &url );
+ void searchResult( const TQString &url );
void scopeCountChanged( int );
void showIndexDialog();
@@ -85,18 +85,18 @@ class SearchWidget : public QWidget, public DCOPObject
void checkScope();
protected slots:
- void scopeDoubleClicked( QListViewItem * );
- void scopeClicked( QListViewItem * );
+ void scopeDoubleClicked( TQListViewItem * );
+ void scopeClicked( TQListViewItem * );
private:
void loadLanguages();
SearchEngine *mEngine;
- QComboBox *mMethodCombo;
- QComboBox *mPagesCombo;
- QComboBox *mScopeCombo;
- QListView *mScopeListView;
+ TQComboBox *mMethodCombo;
+ TQComboBox *mPagesCombo;
+ TQComboBox *mScopeCombo;
+ TQListView *mScopeListView;
int mScopeCount;
};