summaryrefslogtreecommitdiffstats
path: root/kcontrol/kcontrol/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 /kcontrol/kcontrol/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 'kcontrol/kcontrol/searchwidget.h')
-rw-r--r--kcontrol/kcontrol/searchwidget.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kcontrol/kcontrol/searchwidget.h b/kcontrol/kcontrol/searchwidget.h
index 99aceb7e8..492de1729 100644
--- a/kcontrol/kcontrol/searchwidget.h
+++ b/kcontrol/kcontrol/searchwidget.h
@@ -21,10 +21,10 @@
#ifndef __searchwidget_h__
#define __searchwidget_h__
-#include <qwidget.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqwidget.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include "modules.h"
@@ -35,16 +35,16 @@ class QListBoxItem;
class KeywordListEntry
{
public:
- KeywordListEntry(const QString& name, ConfigModule* module);
+ KeywordListEntry(const TQString& name, ConfigModule* module);
void addModule(ConfigModule* module);
- QString moduleName() { return _name; }
- QPtrList<ConfigModule> modules() { return _modules; }
+ TQString moduleName() { return _name; }
+ TQPtrList<ConfigModule> modules() { return _modules; }
private:
- QString _name;
- QPtrList<ConfigModule> _modules;
+ TQString _name;
+ TQPtrList<ConfigModule> _modules;
};
@@ -53,26 +53,26 @@ class SearchWidget : public QWidget
Q_OBJECT
public:
- SearchWidget(QWidget *parent, const char *name=0);
+ SearchWidget(TQWidget *parent, const char *name=0);
void populateKeywordList(ConfigModuleList *list);
- void searchTextChanged(const QString &);
+ void searchTextChanged(const TQString &);
signals:
void moduleSelected(ConfigModule *);
protected:
- void populateKeyListBox(const QString& regexp);
- void populateResultListBox(const QString& keyword);
+ void populateKeyListBox(const TQString& regexp);
+ void populateResultListBox(const TQString& keyword);
protected slots:
- void slotKeywordSelected(const QString &);
- void slotModuleSelected(QListBoxItem *item);
- void slotModuleClicked(QListBoxItem *item);
+ void slotKeywordSelected(const TQString &);
+ void slotModuleSelected(TQListBoxItem *item);
+ void slotModuleClicked(TQListBoxItem *item);
private:
KListBox *_keyList, *_resultList;
- QPtrList<KeywordListEntry> _keywords;
+ TQPtrList<KeywordListEntry> _keywords;
};
#endif