diff options
Diffstat (limited to 'knode/knserverinfo.cpp')
-rw-r--r-- | knode/knserverinfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/knserverinfo.cpp b/knode/knserverinfo.cpp index 3d4e4ded3..2c7949419 100644 --- a/knode/knserverinfo.cpp +++ b/knode/knserverinfo.cpp @@ -18,7 +18,7 @@ #include <tdelocale.h> #include <kdebug.h> #include <tdewallet.h> -using namespace KWallet; +using namespace TDEWallet; #include "knglobals.h" #include "knserverinfo.h" @@ -67,7 +67,7 @@ void KNServerInfo::readConf(TDEConfig *conf) u_ser=conf->readEntry("user"); p_ass = KNHelper::decryptStr(conf->readEntry("pass")); - // migration to KWallet + // migration to TDEWallet if (Wallet::isEnabled() && !p_ass.isEmpty()) { conf->deleteEntry( "pass" ); p_assDirty = true; @@ -104,15 +104,15 @@ void KNServerInfo::saveConf(TDEConfig *conf) Wallet *wallet = KNAccountManager::wallet(); if (!wallet || wallet->writePassword(TQString::number(i_d), p_ass)) { if ( KMessageBox::warningYesNo( 0, - i18n("KWallet is not available. It is strongly recommended to use " - "KWallet for managing your passwords.\n" + i18n("TDEWallet is not available. It is strongly recommended to use " + "TDEWallet for managing your passwords.\n" "However, KNode can store the password in its configuration " "file instead. The password is stored in an obfuscated format, " "but should not be considered secure from decryption efforts " "if access to the configuration file is obtained.\n" "Do you want to store the password for server '%1' in the " "configuration file?").arg( server() ), - i18n("KWallet Not Available"), + i18n("TDEWallet Not Available"), KGuiItem( i18n("Store Password") ), KGuiItem( i18n("Do Not Store Password") ) ) == KMessageBox::Yes ) { @@ -182,7 +182,7 @@ void KNServerInfo::readPassword() return; // finally try to open the wallet and read the password - KWallet::Wallet *wallet = KNAccountManager::wallet(); + TDEWallet::Wallet *wallet = KNAccountManager::wallet(); if ( wallet ) wallet->readPassword( TQString::number(i_d), p_ass ); } |