From bab94d83782bbc76f3a02a415576ce4cdc56aec5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 27 Aug 2013 23:20:50 -0500 Subject: Rename KWallet to TDEWallet --- tdehtml/html/html_formimpl.cpp | 20 ++++++++++---------- tdehtml/html/html_formimpl.h | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'tdehtml/html') diff --git a/tdehtml/html/html_formimpl.cpp b/tdehtml/html/html_formimpl.cpp index 6fae233dd..5dc44ad04 100644 --- a/tdehtml/html/html_formimpl.cpp +++ b/tdehtml/html/html_formimpl.cpp @@ -428,8 +428,8 @@ void HTMLFormElementImpl::doAutoFill() #ifndef TDEHTML_NO_WALLET const TQString key = calculateAutoFillKey(*this); - if (KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(), - KWallet::Wallet::FormDataFolder(), + if (TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(), + TDEWallet::Wallet::FormDataFolder(), key)) return; @@ -439,14 +439,14 @@ void HTMLFormElementImpl::doAutoFill() } -void HTMLFormElementImpl::walletOpened(KWallet::Wallet *w) { +void HTMLFormElementImpl::walletOpened(TDEWallet::Wallet *w) { #ifndef TDEHTML_NO_WALLET assert(w); const TQString key = calculateAutoFillKey(*this); - if (!w->hasFolder(KWallet::Wallet::FormDataFolder())) { + if (!w->hasFolder(TDEWallet::Wallet::FormDataFolder())) { return; // failed } - w->setFolder(KWallet::Wallet::FormDataFolder()); + w->setFolder(TDEWallet::Wallet::FormDataFolder()); TQMap map; if (w->readMap(key, map)) return; // failed, abort @@ -578,17 +578,17 @@ void HTMLFormElementImpl::submit( ) gatherWalletData(); } #ifndef TDEHTML_NO_WALLET - if (m_havePassword && !m_haveTextarea && KWallet::Wallet::isEnabled()) { + if (m_havePassword && !m_haveTextarea && TDEWallet::Wallet::isEnabled()) { const TQString key = calculateAutoFillKey(*this); - const bool doesnotexist = KWallet::Wallet::keyDoesNotExist(KWallet::Wallet::NetworkWallet(), KWallet::Wallet::FormDataFolder(), key); - KWallet::Wallet* const w = view->part()->wallet(); + const bool doesnotexist = TDEWallet::Wallet::keyDoesNotExist(TDEWallet::Wallet::NetworkWallet(), TDEWallet::Wallet::FormDataFolder(), key); + TDEWallet::Wallet* const w = view->part()->wallet(); bool login_changed = false; if (!doesnotexist && w) { // check if the login information changed from what // we had so far. - if (w->hasFolder(KWallet::Wallet::FormDataFolder())) { - w->setFolder(KWallet::Wallet::FormDataFolder()); + if (w->hasFolder(TDEWallet::Wallet::FormDataFolder())) { + w->setFolder(TDEWallet::Wallet::FormDataFolder()); TQMap map; if (!w->readMap(key, map)) { TQMapConstIterator it = map.begin(); diff --git a/tdehtml/html/html_formimpl.h b/tdehtml/html/html_formimpl.h index 8fe0ef1dd..0888db146 100644 --- a/tdehtml/html/html_formimpl.h +++ b/tdehtml/html/html_formimpl.h @@ -49,7 +49,7 @@ namespace tdehtml typedef TQValueList encodingList; } -namespace KWallet { +namespace TDEWallet { class Wallet; } @@ -85,7 +85,7 @@ public: bool autoComplete() const { return m_autocomplete; } void doAutoFill(); - void walletOpened(KWallet::Wallet *w); + void walletOpened(TDEWallet::Wallet *w); virtual void parseAttribute(AttributeImpl *attr); -- cgit v1.2.1