summaryrefslogtreecommitdiffstats
path: root/kmail/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/index.h')
-rw-r--r--kmail/index.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/index.h b/kmail/index.h
index 731f407f..91c69f2d 100644
--- a/kmail/index.h
+++ b/kmail/index.h
@@ -31,10 +31,10 @@
*/
-#include <qobject.h>
-#include <qcstring.h>
-#include <qvaluelist.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqcstring.h>
+#include <tqvaluelist.h>
+#include <tqtimer.h>
#include <config.h>
#ifdef HAVE_INDEXLIB
#include <indexlib/index.h>
@@ -49,10 +49,10 @@ class KMSearch;
class KMSearchRule;
class KMSearchPattern;
-class KMMsgIndex : public QObject {
+class KMMsgIndex : public TQObject {
Q_OBJECT
public:
- explicit KMMsgIndex( QObject* parent );
+ explicit KMMsgIndex( TQObject* parent );
~KMMsgIndex();
public:
@@ -74,7 +74,7 @@ class KMMsgIndex : public QObject {
/**
* Just return all the uids where the pattern exists
*/
- std::vector<Q_UINT32> simpleSearch( QString, bool* ) const;
+ std::vector<Q_UINT32> simpleSearch( TQString, bool* ) const;
/**
* Returns whether the folder is indexable. Only local and dimap
@@ -129,14 +129,14 @@ class KMMsgIndex : public QObject {
void maintenance();
void act();
- void removeSearch( QObject* );
+ void removeSearch( TQObject* );
void continueCreation();
void slotAddMessage( Q_UINT32 message );
void slotRemoveMessage( Q_UINT32 message );
private:
- static QString defaultPath();
+ static TQString defaultPath();
bool canHandleQuery( const KMSearchPattern* ) const;
int addMessage( Q_UINT32 );
@@ -180,19 +180,19 @@ class KMMsgIndex : public QObject {
*/
indexlib::detail::lockfile mLockFile;
//enum e_syncState { ss_none, ss_started, ss_synced } mSyncState;
- //QTimer* mSyncTimer;
+ //TQTimer* mSyncTimer;
indexlib::index* mIndex;
#endif
std::set<KMFolder*> mOpenedFolders;
std::vector<Search*> mSearches;
- QCString mIndexPath;
- QTimer* mTimer;
+ TQCString mIndexPath;
+ TQTimer* mTimer;
bool mSlowDown;
};
-class KMMsgIndex::Search : public QObject {
+class KMMsgIndex::Search : public TQObject {
Q_OBJECT
public:
explicit Search( KMSearch* s );
@@ -205,7 +205,7 @@ class KMMsgIndex::Search : public QObject {
void act();
private:
KMSearch* mSearch;
- QTimer* mTimer;
+ TQTimer* mTimer;
/**
* mResidual is the part of the pattern which is not
* handled by the index