From 25794f504692e5a36c490438814e9dfda8aaa2dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 29 May 2011 19:00:37 +0000 Subject: 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 --- src/kchmsearchengine.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/kchmsearchengine.h') 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 -#include -#include -#include -#include +#include +#include +#include +#include +#include #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; }; -- cgit v1.2.1