diff options
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; |