diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/kmacctcachedimap.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/kmacctcachedimap.h')
-rw-r--r-- | kmail/kmacctcachedimap.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kmail/kmacctcachedimap.h b/kmail/kmacctcachedimap.h index 6f10bfe56..e8e428204 100644 --- a/kmail/kmacctcachedimap.h +++ b/kmail/kmacctcachedimap.h @@ -34,7 +34,7 @@ #include "imapaccountbase.h" -#include <qguardedptr.h> +#include <tqguardedptr.h> class KMFolderCachedImap; class KMFolderTreeItem; @@ -72,7 +72,7 @@ public: /** * Inherited methods. */ - virtual QString type() const; + virtual TQString type() const; virtual void processNewMail( bool interactive ); /** @@ -114,56 +114,56 @@ public: * Remember that a folder got explicitely deleted - NOT including all child folders * This is used when renaming a folder. */ - void addDeletedFolder( const QString& imapPath ); + void addDeletedFolder( const TQString& imapPath ); /** * Ask if a folder was explicitely deleted in this session */ - bool isDeletedFolder( const QString& subFolderPath ) const; + bool isDeletedFolder( const TQString& subFolderPath ) const; /** * Ask if a folder was explicitely deleted in a previous session */ - bool isPreviouslyDeletedFolder( const QString& subFolderPath ) const; + bool isPreviouslyDeletedFolder( const TQString& subFolderPath ) const; /** * return the imap path to the deleted folder, as well as the paths for any child folders */ - QStringList deletedFolderPaths( const QString& subFolderPath ) const; + TQStringList deletedFolderPaths( const TQString& subFolderPath ) const; /** * Remove folder from the "deleted folders" list */ - void removeDeletedFolder( const QString& subFolderPath ); + void removeDeletedFolder( const TQString& subFolderPath ); /** * Remember that a folder was renamed */ - void addRenamedFolder( const QString& subFolderPath, - const QString& oldLabel, const QString& newName ); + void addRenamedFolder( const TQString& subFolderPath, + const TQString& oldLabel, const TQString& newName ); /** * Remove folder from "renamed folders" list * Warning: @p subFolderPath is the OLD path */ - void removeRenamedFolder( const QString& subFolderPath ); + void removeRenamedFolder( const TQString& subFolderPath ); struct RenamedFolder { RenamedFolder() {} // for QMap - RenamedFolder( const QString& oldLabel, const QString& newName ) + RenamedFolder( const TQString& oldLabel, const TQString& newName ) : mOldLabel( oldLabel ), mNewName( newName ) {} - QString mOldLabel; - QString mNewName; + TQString mOldLabel; + TQString mNewName; }; /** * Returns new name for folder if it was renamed */ - QString renamedFolder( const QString& imapPath ) const; + TQString renamedFolder( const TQString& imapPath ) const; /** * Returns the list of folders that were renamed */ - const QMap<QString, RenamedFolder>& renamedFolders() const { return mRenamedFolders; } + const TQMap<TQString, RenamedFolder>& renamedFolders() const { return mRenamedFolders; } /** * Add a folder's unread count to the new "unread messages count", done during a sync after getting new mail @@ -201,7 +201,7 @@ public: protected: friend class ::AccountManager; - KMAcctCachedImap(AccountManager* owner, const QString& accountName, uint id); + KMAcctCachedImap(AccountManager* owner, const TQString& accountName, uint id); protected slots: /** new-mail-notification for the current folder (is called via folderComplete) */ @@ -212,15 +212,15 @@ protected slots: virtual void slotCheckQueuedFolders(); private: - QValueList<KMFolderCachedImap*> killAllJobsInternal( bool disconnectSlave ); + TQValueList<KMFolderCachedImap*> killAllJobsInternal( bool disconnectSlave ); void processNewMail( KMFolderCachedImap* folder, bool recurse ); private: - QPtrList<CachedImapJob> mJobList; + TQPtrList<CachedImapJob> mJobList; KMFolderCachedImap *mFolder; - QStringList mDeletedFolders; // folders deleted in this session - QStringList mPreviouslyDeletedFolders; // folders deleted in a previous session - QMap<QString, RenamedFolder> mRenamedFolders; + TQStringList mDeletedFolders; // folders deleted in this session + TQStringList mPreviouslyDeletedFolders; // folders deleted in a previous session + TQMap<TQString, RenamedFolder> mRenamedFolders; bool mAnnotationCheckPassed; GroupwareType mGroupwareType; |