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 /korn/password.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 'korn/password.h')
-rw-r--r-- | korn/password.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/korn/password.h b/korn/password.h index b024fa842..c8ecdd1d2 100644 --- a/korn/password.h +++ b/korn/password.h @@ -47,9 +47,9 @@ public: * @param box The boxnumber of the account * @param account The accountnumber of the account * @param fallbackConfig The configuration file if KWallet cannot be used. - * @return The password, or QString::null if it failes. + * @return The password, or TQString::null if it failes. */ - static QString readKOrnPassword( int box, int account, const KConfigBase& fallbackConfig ); + static TQString readKOrnPassword( int box, int account, const KConfigBase& fallbackConfig ); /** * This function gets a password with is puts in KWallet by KMail * @@ -57,7 +57,7 @@ public: * @param fallbackConfig The configuration used if KWallet isn't available. * @return The password, QStirng::null if it failes. */ - static QString readKMailPassword( int accountnr, const KConfigBase& fallbackConfig ); + static TQString readKMailPassword( int accountnr, const KConfigBase& fallbackConfig ); /** * This function saves a password for usage in KOrn. @@ -67,7 +67,7 @@ public: * @param fallbackConfig The configuration file if KWallet isn't available. * @param password The password to be stored. */ - static void writeKOrnPassword( int box, int account, KConfigBase& fallbackConfig, const QString& password ); + static void writeKOrnPassword( int box, int account, KConfigBase& fallbackConfig, const TQString& password ); /** * This function deletes a password from both KWallet and the configuration file @@ -154,10 +154,10 @@ public: private: static void open(); - static bool readKOrnPassword( int box, int account, QString& password ); - static bool writeKOrnPassword( int box, int account, const QString& password ); + static bool readKOrnPassword( int box, int account, TQString& password ); + static bool writeKOrnPassword( int box, int account, const TQString& password ); - static QString KMailDecrypt( const QString& enc ); + static TQString KMailDecrypt( const TQString& enc ); static KWallet::Wallet *m_wallet; static bool m_openFailed; |