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/accountmanager.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/accountmanager.h')
-rw-r--r-- | kmail/accountmanager.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/accountmanager.h b/kmail/accountmanager.h index fda0591f7..95b7b49e9 100644 --- a/kmail/accountmanager.h +++ b/kmail/accountmanager.h @@ -20,7 +20,7 @@ #ifndef accountmanager_h #define accountmanager_h -#include <qobject.h> +#include <tqobject.h> #include "kmaccount.h" #include <kdepimmacros.h> @@ -51,8 +51,8 @@ public: /** Create a new account of given type with given name. Currently the types "local" for local mail folders and "pop" are supported. */ - KMAccount* create( const QString& type, - const QString& name = QString::null, + KMAccount* create( const TQString& type, + const TQString& name = TQString::null, uint id = 0); /** Adds an account to the list of accounts */ @@ -60,7 +60,7 @@ public: /** Find account by name. Returns 0 if account does not exist. Search is done case sensitive. */ - KMAccount* findByName( const QString& name ) const; + KMAccount* findByName( const TQString& name ) const; /** Find account by id. Returns 0 if account does not exist. */ @@ -84,7 +84,7 @@ public: /** Delete all IMAP folders and resync them */ void invalidateIMAPFolders(); - QStringList getAccounts() const; + TQStringList getAccounts() const; /// Called on exit (KMMainWin::queryExit) void cancelMailCheck(); @@ -101,7 +101,7 @@ public slots: /** this slot increases the count of new mails to show a total number after checking in multiple accounts. */ - void addToTotalNewMailCount( const QMap<QString, int> & newInFolder ); + void addToTotalNewMailCount( const TQMap<TQString, int> & newInFolder ); signals: @@ -112,7 +112,7 @@ signals: * @param newInFolder number of new messages for each folder **/ void checkedMail( bool newMail, bool interactive, - const QMap<QString, int> & newInFolder ); + const TQMap<TQString, int> & newInFolder ); /** emitted when an account is removed */ void accountRemoved( KMAccount* account ); /** emitted when an account is added */ @@ -131,7 +131,7 @@ private: int mTotalNewMailsArrived; // for detailed (per folder) new mail notification - QMap<QString, int> mTotalNewInFolder; + TQMap<TQString, int> mTotalNewInFolder; // if a summary should be displayed bool mDisplaySummary; |