summaryrefslogtreecommitdiffstats
path: root/khelpcenter/searchhandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khelpcenter/searchhandler.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/searchhandler.h')
-rw-r--r--khelpcenter/searchhandler.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/khelpcenter/searchhandler.h b/khelpcenter/searchhandler.h
index 3b0979bd4..13a6a56c1 100644
--- a/khelpcenter/searchhandler.h
+++ b/khelpcenter/searchhandler.h
@@ -22,8 +22,8 @@
#include "searchengine.h"
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
namespace KIO {
class Job;
@@ -41,34 +41,34 @@ class SearchJob
KProcess *mProcess;
KIO::Job *mKioJob;
- QString mCmd;
+ TQString mCmd;
- QString mResult;
- QString mError;
+ TQString mResult;
+ TQString mError;
};
class SearchHandler : public QObject
{
Q_OBJECT
public:
- static SearchHandler *initFromFile( const QString &filename );
+ static SearchHandler *initFromFile( const TQString &filename );
- void search( DocEntry *, const QStringList &words,
+ void search( DocEntry *, const TQStringList &words,
int maxResults = 10,
SearchEngine::Operation operation = SearchEngine::And );
- QString indexCommand( const QString &identifier );
+ TQString indexCommand( const TQString &identifier );
- QStringList documentTypes() const;
+ TQStringList documentTypes() const;
bool checkPaths() const;
signals:
- void searchFinished( SearchHandler *, DocEntry *, const QString & );
- void searchError( SearchHandler *, DocEntry *, const QString & );
+ void searchFinished( SearchHandler *, DocEntry *, const TQString & );
+ void searchError( SearchHandler *, DocEntry *, const TQString & );
protected:
- bool checkBinary( const QString &cmd ) const;
+ bool checkBinary( const TQString &cmd ) const;
protected slots:
void searchStdout( KProcess *proc, char *buffer, int buflen );
@@ -76,20 +76,20 @@ class SearchHandler : public QObject
void searchExited( KProcess *proc );
void slotJobResult( KIO::Job *job );
- void slotJobData( KIO::Job *, const QByteArray &data );
+ void slotJobData( KIO::Job *, const TQByteArray &data );
private:
SearchHandler();
- QString mLang;
+ TQString mLang;
- QString mSearchCommand;
- QString mSearchUrl;
- QString mIndexCommand;
- QStringList mDocumentTypes;
+ TQString mSearchCommand;
+ TQString mSearchUrl;
+ TQString mIndexCommand;
+ TQStringList mDocumentTypes;
- QMap<KProcess *,SearchJob *> mProcessJobs;
- QMap<KIO::Job *,SearchJob *> mKioJobs;
+ TQMap<KProcess *,SearchJob *> mProcessJobs;
+ TQMap<KIO::Job *,SearchJob *> mKioJobs;
};
}