summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsearchengine.h')
-rw-r--r--src/kchmsearchengine.h19
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;
};