From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korn/password.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'korn/password.h') 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; -- cgit v1.2.1