diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khelpcenter/htmlsearch/htmlsearch.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/htmlsearch/htmlsearch.h')
-rw-r--r-- | khelpcenter/htmlsearch/htmlsearch.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/khelpcenter/htmlsearch/htmlsearch.h b/khelpcenter/htmlsearch/htmlsearch.h index f5568218c..2f4031782 100644 --- a/khelpcenter/htmlsearch/htmlsearch.h +++ b/khelpcenter/htmlsearch/htmlsearch.h @@ -2,8 +2,8 @@ #define __HTMLSEARCH_H__ -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> class QWidget; @@ -24,10 +24,10 @@ public: HTMLSearch(); - bool generateIndex(QString lang, QWidget *parent=0); + bool generateIndex(TQString lang, TQWidget *parent=0); - QString search(QString lang, QString words, QString method="and", int matches=10, - QString format="builtin-long", QString sort="score"); + TQString search(TQString lang, TQString words, TQString method="and", int matches=10, + TQString format="builtin-long", TQString sort="score"); protected slots: @@ -41,21 +41,21 @@ protected slots: protected: - QString dataPath(const QString& lang); + TQString dataPath(const TQString& lang); - bool saveFilesList(const QString& lang); - void scanDir(const QString& dir); + bool saveFilesList(const TQString& lang); + void scanDir(const TQString& dir); - bool createConfig(const QString& lang); + bool createConfig(const TQString& lang); private: - QStringList _files; + TQStringList _files; KProcess *_proc; int _filesToDig, _filesDigged, _filesScanned; volatile bool _htdigRunning, _htmergeRunning, _htsearchRunning; - QString _searchResult; + TQString _searchResult; ProgressDialog *progress; }; |