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/cachedimapjob.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kmail/cachedimapjob.h') diff --git a/kmail/cachedimapjob.h b/kmail/cachedimapjob.h index ad5579a02..6581ec742 100644 --- a/kmail/cachedimapjob.h +++ b/kmail/cachedimapjob.h @@ -48,9 +48,9 @@ #include #include -#include -#include -#include +#include +#include +#include class KMFolderCachedImap; class KMAcctCachedImap; @@ -63,7 +63,7 @@ class CachedImapJob : public FolderJob { public: /** Information about a message to be downloaded (from the 'IMAP envelope') */ struct MsgForDownload { - MsgForDownload() : uid(0),flags(0),size(0) {} // for QValueList only + MsgForDownload() : uid(0),flags(0),size(0) {} // for TQValueList only MsgForDownload( ulong _uid, int _flags, ulong _size ) : uid(_uid), flags(_flags), size(_size) {} ulong uid; @@ -72,22 +72,22 @@ public: }; // Get messages - CachedImapJob( const QValueList& msgs, + CachedImapJob( const TQValueList& msgs, JobType type = tGetMessage, KMFolderCachedImap* folder = 0 ); // Put messages - CachedImapJob( const QPtrList& msgs, + CachedImapJob( const TQPtrList& msgs, JobType type, KMFolderCachedImap* folder=0 ); - CachedImapJob( const QValueList& msgs, + CachedImapJob( const TQValueList& msgs, JobType type, KMFolderCachedImap* folder=0 ); // Add sub folders - CachedImapJob( const QValueList& folders, + CachedImapJob( const TQValueList& folders, JobType type = tAddSubfolders, KMFolderCachedImap* folder = 0 ); // Rename folder - CachedImapJob( const QString& string1, JobType type, + CachedImapJob( const TQString& string1, JobType type, KMFolderCachedImap* folder ); // Delete folders or messages - CachedImapJob( const QStringList& foldersOrMsgs, JobType type, + CachedImapJob( const TQStringList& foldersOrMsgs, JobType type, KMFolderCachedImap* folder ); // Other jobs (list messages,expunge folder, check uid validity) CachedImapJob( JobType type, KMFolderCachedImap* folder ); @@ -104,16 +104,16 @@ protected: virtual void execute(); void expungeFolder(); void checkUidValidity(); - void renameFolder( const QString &newName ); + void renameFolder( const TQString &newName ); void listMessages(); protected slots: virtual void slotGetNextMessage( KIO::Job *job = 0 ); virtual void slotAddNextSubfolder( KIO::Job *job = 0 ); virtual void slotPutNextMessage(); - virtual void slotPutMessageDataReq( KIO::Job *job, QByteArray &data ); + virtual void slotPutMessageDataReq( KIO::Job *job, TQByteArray &data ); virtual void slotPutMessageResult( KIO::Job *job ); - virtual void slotPutMessageInfoData(KIO::Job *, const QString &data); + virtual void slotPutMessageInfoData(KIO::Job *, const TQString &data); virtual void slotExpungeResult( KIO::Job *job ); virtual void slotDeleteNextFolder( KIO::Job *job = 0 ); virtual void slotCheckUidValidityResult( KIO::Job *job ); @@ -125,14 +125,14 @@ protected slots: private: KMFolderCachedImap *mFolder; KMAcctCachedImap *mAccount; - QValueList mFolderList; - QValueList mMsgsForDownload; - QValueList mSerNumMsgList; + TQValueList mFolderList; + TQValueList mMsgsForDownload; + TQValueList mSerNumMsgList; ulong mSentBytes; // previous messages ulong mTotalBytes; - QStringList mFoldersOrMessages; // Folder deletion: path list. Message deletion: sets of uids + TQStringList mFoldersOrMessages; // Folder deletion: path list. Message deletion: sets of uids KMMessage* mMsg; - QString mString; // Used as uids and as rename target + TQString mString; // Used as uids and as rename target KMFolderCachedImap *mParentFolder; }; -- cgit v1.2.1