diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kchmsearchengine.h | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip |
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmsearchengine.h')
-rw-r--r-- | src/kchmsearchengine.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/kchmsearchengine.h b/src/kchmsearchengine.h index 8aab6e5..4679bfc 100644 --- a/src/kchmsearchengine.h +++ b/src/kchmsearchengine.h @@ -22,27 +22,28 @@ #ifndef KCHMSEARCHENGINE_H #define KCHMSEARCHENGINE_H -#include <qobject.h> -#include <qmap.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qprogressdialog.h> +#include <tqobject.h> +#include <tqmap.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqprogressdialog.h> #include "libchmfile.h" namespace QtAs { class Index; }; -class KCHMSearchEngine : public QObject +class KCHMSearchEngine : public TQObject { Q_OBJECT + TQ_OBJECT public: KCHMSearchEngine(); ~KCHMSearchEngine(); bool loadOrGenerateIndex(); - bool searchQuery ( const QString& query, QStringList * results, unsigned int limit = 100 ); + bool searchQuery ( const TQString& query, TQStringList * results, unsigned int limit = 100 ); private slots: @@ -53,8 +54,8 @@ class KCHMSearchEngine : public QObject void processEvents(); // Used during the index generation - QProgressDialog * m_progressDlg; - QStringList m_keywordDocuments; + TQProgressDialog * m_progressDlg; + TQStringList m_keywordDocuments; QtAs::Index * m_Index; }; |