summaryrefslogtreecommitdiffstats
path: root/kmail/index.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/index.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 731f407f6..91c69f2d7 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