From a637b0877543118dd023c0ecc7e241eb7168d115 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 27 Aug 2013 23:21:18 -0500 Subject: Rename KWallet to TDEWallet --- korn/kmail_proto.h | 2 +- korn/korncfg.ui | 2 +- korn/korncfgimpl.cpp | 2 +- korn/password.cpp | 4 ++-- korn/password.h | 22 +++++++++++----------- 5 files changed, 16 insertions(+), 16 deletions(-) (limited to 'korn') diff --git a/korn/kmail_proto.h b/korn/kmail_proto.h index c2026baf..0025596b 100644 --- a/korn/kmail_proto.h +++ b/korn/kmail_proto.h @@ -64,7 +64,7 @@ public: * it calculates how the configuration whould have looked in KOrn. * * @param config The configuration group to read the kmailname from. - * @param password The password fetched out of the configuration or KWallet. + * @param password The password fetched out of the configuration or TDEWallet. * @return A mapping containing the configuration if success, and empty mapping otherwise. */ virtual TQMap< TQString, TQString > * createConfig( TDEConfigGroup* config, const TQString& password ) const; diff --git a/korn/korncfg.ui b/korn/korncfg.ui index f99da3d4..e3bed083 100644 --- a/korn/korncfg.ui +++ b/korn/korncfg.ui @@ -52,7 +52,7 @@ chUseWallet - Use &KWallet if possible + Use &TDEWallet if possible true diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp index c6e8d171..c4fa1359 100644 --- a/korn/korncfgimpl.cpp +++ b/korn/korncfgimpl.cpp @@ -220,7 +220,7 @@ void KornCfgImpl::writeConfig() if( rbDocked->isChecked() ) _config->writeEntry( "layout", "Docked" ); - //Default is 'false' here, because if no option is set, KWallet isn't used. + //Default is 'false' here, because if no option is set, TDEWallet isn't used. if( _config->readBoolEntry( "usewallet", false ) != chUseWallet->isChecked() ) //Configuration box changed => setting over configuration rewritePasswords(); diff --git a/korn/password.cpp b/korn/password.cpp index f9318319..ca6139b4 100644 --- a/korn/password.cpp +++ b/korn/password.cpp @@ -26,7 +26,7 @@ #include #include -KWallet::Wallet* KOrnPassword::m_wallet = 0; +TDEWallet::Wallet* KOrnPassword::m_wallet = 0; bool KOrnPassword::m_openFailed = false; bool KOrnPassword::m_useWallet = false; //Not default true until moving works @@ -178,7 +178,7 @@ void KOrnPassword::open() return; //Not open, and can't be opened delete m_wallet; m_wallet = 0; - m_wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(), 0 ); + m_wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0 ); if( !m_wallet ) m_openFailed = true; diff --git a/korn/password.h b/korn/password.h index a2df7f99..27a944a9 100644 --- a/korn/password.h +++ b/korn/password.h @@ -21,13 +21,13 @@ #define KORNPASSWORD_H class TDEConfigBase; -namespace KWallet { class Wallet; } +namespace TDEWallet { class Wallet; } class TQString; /** * This class can be used to store and retrieve passwords. - * It uses KWallet if possible, and the configuartion files otherwise. + * It uses TDEWallet if possible, and the configuartion files otherwise. */ class KOrnPassword { @@ -46,15 +46,15 @@ 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. + * @param fallbackConfig The configuration file if TDEWallet cannot be used. * @return The password, or TQString() if it failes. */ static TQString readKOrnPassword( int box, int account, const TDEConfigBase& fallbackConfig ); /** - * This function gets a password with is puts in KWallet by KMail + * This function gets a password with is puts in TDEWallet by KMail * * @param accountnr The id of the KMail account - * @param fallbackConfig The configuration used if KWallet isn't available. + * @param fallbackConfig The configuration used if TDEWallet isn't available. * @return The password, TQStirng::null if it failes. */ static TQString readKMailPassword( int accountnr, const TDEConfigBase& fallbackConfig ); @@ -64,22 +64,22 @@ public: * * @param box The boxnumber of the account. * @param account The accountnumber of the account. - * @param fallbackConfig The configuration file if KWallet isn't available. + * @param fallbackConfig The configuration file if TDEWallet isn't available. * @param password The password to be stored. */ static void writeKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig, const TQString& password ); /** - * This function deletes a password from both KWallet and the configuration file + * This function deletes a password from both TDEWallet and the configuration file * * @param box The boxnumber of the account. * @param account The accountnumber of the account. - * @param fallbackConfig The configuration file if KWallet isn't available. + * @param fallbackConfig The configuration file if TDEWallet isn't available. */ static void deleteKOrnPassword( int box, int account, TDEConfigBase& fallbackConfig ); /** - * This function deletes a password from KWallet + * This function deletes a password from TDEWallet * * @param box The boxnumber of the account. * @param account The accountnumber of the account. @@ -143,7 +143,7 @@ public: static void rewritePassword( int box, int account, TDEConfigBase &config, bool newUseWalletValue ); /** - * If set to true, this class will try to use KWallet, + * If set to true, this class will try to use TDEWallet, * if false, it will not. * * The default value is true. @@ -159,7 +159,7 @@ private: static TQString KMailDecrypt( const TQString& enc ); - static KWallet::Wallet *m_wallet; + static TDEWallet::Wallet *m_wallet; static bool m_openFailed; static bool m_useWallet; }; -- cgit v1.2.3