From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/index.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kmail/index.h') 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 -#include -#include -#include +#include +#include +#include +#include #include #ifdef HAVE_INDEXLIB #include @@ -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 simpleSearch( QString, bool* ) const; + std::vector 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 mOpenedFolders; std::vector 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 -- cgit v1.2.1