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/networkaccount.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/networkaccount.h')
-rw-r--r-- | kmail/networkaccount.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/networkaccount.h b/kmail/networkaccount.h index 616de6711..868e20553 100644 --- a/kmail/networkaccount.h +++ b/kmail/networkaccount.h @@ -25,13 +25,13 @@ #ifndef __KMAIL_NETWORKACCOUNT_H__ #define __KMAIL_NETWORKACCOUNT_H__ -#include <qguardedptr.h> +#include <tqguardedptr.h> #include "kmaccount.h" #include "sieveconfig.h" -#include <qstring.h> +#include <tqstring.h> class AccountManager; class KConfig/*Base*/; @@ -46,7 +46,7 @@ namespace KMail { class NetworkAccount : public KMAccount { Q_OBJECT protected: - NetworkAccount( AccountManager * parent, const QString & name, uint id ); + NetworkAccount( AccountManager * parent, const TQString & name, uint id ); public: virtual ~NetworkAccount(); @@ -57,12 +57,12 @@ namespace KMail { virtual void pseudoAssign( const KMAccount * a ); /** User login name */ - QString login() const { return mLogin; } - virtual void setLogin( const QString & login ); + TQString login() const { return mLogin; } + virtual void setLogin( const TQString & login ); /** User password */ - QString passwd() const; - virtual void setPasswd( const QString & passwd, bool storeInConfig=false ); + TQString passwd() const; + virtual void setPasswd( const TQString & passwd, bool storeInConfig=false ); /** * Set the password to "" (empty string) @@ -70,16 +70,16 @@ namespace KMail { virtual void clearPasswd(); /** authentication method */ - QString auth() const { return mAuth; } - virtual void setAuth( const QString & auth ); + TQString auth() const { return mAuth; } + virtual void setAuth( const TQString & auth ); /** @return whether to store the password in the config file */ bool storePasswd() const { return mStorePasswd; } virtual void setStorePasswd( bool store ); /** Server hostname */ - QString host() const { return mHost; } - virtual void setHost( const QString & host ); + TQString host() const { return mHost; } + virtual void setHost( const TQString & host ); /** Server port number */ unsigned short int port() const { return mPort; } @@ -122,13 +122,13 @@ namespace KMail { /** Reset connection list for the account */ static void resetConnectionList( NetworkAccount* acct ); protected: - virtual QString protocol() const = 0; + virtual TQString protocol() const = 0; virtual unsigned short int defaultPort() const = 0; protected: KMail::SieveConfig mSieveConfig; - QGuardedPtr<KIO::Slave> mSlave; - QString mLogin, mPasswd, mAuth, mHost; + TQGuardedPtr<KIO::Slave> mSlave; + TQString mLogin, mPasswd, mAuth, mHost; unsigned short int mPort; bool mStorePasswd : 1; bool mUseSSL : 1; |