diff options
Diffstat (limited to 'korn/password.h')
-rw-r--r-- | korn/password.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/password.h b/korn/password.h index ebfb24c4a..a2df7f990 100644 --- a/korn/password.h +++ b/korn/password.h @@ -20,7 +20,7 @@ #ifndef KORNPASSWORD_H #define KORNPASSWORD_H -class KConfigBase; +class TDEConfigBase; namespace KWallet { class Wallet; } class TQString; @@ -49,7 +49,7 @@ public: * @param fallbackConfig The configuration file if KWallet cannot be used. * @return The password, or TQString() if it failes. */ - static TQString readKOrnPassword( int box, int account, const KConfigBase& fallbackConfig ); + static TQString readKOrnPassword( int box, int account, const TDEConfigBase& 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, TQStirng::null if it failes. */ - static TQString readKMailPassword( int accountnr, const KConfigBase& fallbackConfig ); + static TQString readKMailPassword( int accountnr, const TDEConfigBase& 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 TQString& password ); + static void writeKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig, const TQString& password ); /** * This function deletes a password from both KWallet and the configuration file @@ -76,7 +76,7 @@ public: * @param account The accountnumber of the account. * @param fallbackConfig The configuration file if KWallet isn't available. */ - static void deleteKOrnPassword( int box, int account, KConfigBase& fallbackConfig ); + static void deleteKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig ); /** * This function deletes a password from KWallet @@ -96,8 +96,8 @@ public: * @param accountDest The destination account number * @param configDest The destination configuration group. */ - static void moveKOrnPassword( int boxSrc, int accountSrc, KConfigBase &configSrc, - int boxDest, int accountDest, KConfigBase &configDest ); + static void moveKOrnPassword( int boxSrc, int accountSrc, TDEConfigBase &configSrc, + int boxDest, int accountDest, TDEConfigBase &configDest ); /** * This swaps the password from one box/account combination to another. @@ -109,7 +109,7 @@ public: * @param account2 The account number of the second password. * @param config2 The configurationgroup of the second password. */ - static void swapKOrnPassword( int box1, int account1, KConfigBase &config1, int box2, int account2, KConfigBase &config2 ); + static void swapKOrnPassword( int box1, int account1, TDEConfigBase &config1, int box2, int account2, TDEConfigBase &config2 ); /** * This swaps the Wallet password from one box/account combination to another. @@ -140,7 +140,7 @@ public: * @param config The configuration group * @param newUseWalletValue true to transport a password from a configuration to a wallet, false the other wat around */ - static void rewritePassword( int box, int account, KConfigBase &config, bool newUseWalletValue ); + static void rewritePassword( int box, int account, TDEConfigBase &config, bool newUseWalletValue ); /** * If set to true, this class will try to use KWallet, |