summaryrefslogtreecommitdiffstats
path: root/systemsettings/kcmsearch.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
commit5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch)
treea2f76da0912085453b974e590005753ca279457b /systemsettings/kcmsearch.h
parent70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff)
downloadtde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.tar.gz
tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.zip
TQt4 convert kde-systemsettings
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1234247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'systemsettings/kcmsearch.h')
-rw-r--r--systemsettings/kcmsearch.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/systemsettings/kcmsearch.h b/systemsettings/kcmsearch.h
index b20aec7..49db420 100644
--- a/systemsettings/kcmsearch.h
+++ b/systemsettings/kcmsearch.h
@@ -34,33 +34,34 @@ class ModulesView;
class KcmSearch : public KIconViewSearchLine
{
Q_OBJECT
+ TQ_OBJECT
public:
- KcmSearch( QPtrList<ModulesView> *moduleViewList, QWidget *parent = 0, const char *name = 0 );
+ KcmSearch( TQPtrList<ModulesView> *moduleViewList, TQWidget *tqparent = 0, const char *name = 0 );
public slots:
/**
* Go through all of the iconView groups in mainView and update
*/
- virtual void updateSearch( const QString &search = QString::null );
+ virtual void updateSearch( const TQString &search = TQString() );
/**
* Check module associated with item or if a group check all modules of that group.
* @return true if search is in the module(s) keywords
*/
- virtual bool itemMatches ( const QIconViewItem *item, const QString &search ) const;
+ virtual bool itemMatches ( const TQIconViewItem *item, const TQString &search ) const;
signals:
- void searchHits(const QString &query, int *hitList, int length);
+ void searchHits(const TQString &query, int *hitList, int length);
private:
/**
* Determine if module matches the search
* @return true if search is in module's keywords
*/
- bool itemMatches ( const KCModuleInfo &module, const QString &search ) const;
+ bool itemMatches ( const KCModuleInfo &module, const TQString &search ) const;
// Friend class whos groups parsed,
- QPtrList<ModulesView> *moduleViewList;
+ TQPtrList<ModulesView> *moduleViewList;
};
#endif // KCMSEARCH_H