summaryrefslogtreecommitdiffstats
path: root/tdehtml/html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-27 23:20:50 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-08-27 23:20:50 -0500
commitbab94d83782bbc76f3a02a415576ce4cdc56aec5 (patch)
tree0f69fbb70892829d42a523c84efd80c0e7c98f99 /tdehtml/html
parent9b6f2dec92823d77af0bafe928660694d9b791f5 (diff)
downloadtdelibs-bab94d83782bbc76f3a02a415576ce4cdc56aec5.tar.gz
tdelibs-bab94d83782bbc76f3a02a415576ce4cdc56aec5.zip
Rename KWallet to TDEWallet
Diffstat (limited to 'tdehtml/html')
-rw-r--r--tdehtml/html/html_formimpl.cpp20
-rw-r--r--tdehtml/html/html_formimpl.h4
2 files changed, 12 insertions, 12 deletions
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<TQString, TQString> 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<TQString, TQString> map;
if (!w->readMap(key, map)) {
TQMapConstIterator<TQString, TQString> 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<TQCString> 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);