From cce87d87ca74d317dd4102d64ff0a8e784f539a2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 27 Aug 2013 23:21:05 -0500 Subject: Rename KWallet to TDEWallet --- krdc/rdp/rdphostpref.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'krdc/rdp/rdphostpref.cpp') diff --git a/krdc/rdp/rdphostpref.cpp b/krdc/rdp/rdphostpref.cpp index e50dc7de..b86ea06a 100644 --- a/krdc/rdp/rdphostpref.cpp +++ b/krdc/rdp/rdphostpref.cpp @@ -30,7 +30,7 @@ RdpHostPref::RdpHostPref(TDEConfig *conf, const TQString &host, const TQString & m_colorDepth(24), m_layout("en-us"), m_askOnConnect(true), - m_useKWallet(true) + m_useTDEWallet(true) { } @@ -50,7 +50,7 @@ void RdpHostPref::save() m_config->writeEntry(p+"colorDepth", m_colorDepth); m_config->writeEntry(p+"layout", m_layout); m_config->writeEntry(p+"askOnConnect", m_askOnConnect); - m_config->writeEntry(p+"useKWallet", m_useKWallet); + m_config->writeEntry(p+"useTDEWallet", m_useTDEWallet); } else { @@ -60,7 +60,7 @@ void RdpHostPref::save() m_config->writeEntry( "rdpColorDepth", m_colorDepth); m_config->writeEntry( "rdpKeyboardLayout", m_layout ); m_config->writeEntry( "rdpShowHostPreferences", m_askOnConnect ); - m_config->writeEntry( "rdpUseKWallet", m_useKWallet ); + m_config->writeEntry( "rdpUseTDEWallet", m_useTDEWallet ); } } @@ -75,7 +75,7 @@ void RdpHostPref::load() m_colorDepth = m_config->readNumEntry(p+"colorDepth", 24); m_layout = m_config->readEntry(p+"layout", "en-us"); m_askOnConnect = m_config->readBoolEntry(p+"askOnConnect", true); - m_useKWallet = m_config->readBoolEntry(p+"useKWallet", true); + m_useTDEWallet = m_config->readBoolEntry(p+"useTDEWallet", true); } else { @@ -93,7 +93,7 @@ void RdpHostPref::remove() m_config->deleteEntry(p+"colorDepth"); m_config->deleteEntry(p+"layout"); m_config->deleteEntry(p+"askOnConnect"); - m_config->deleteEntry(p+"useKWallet"); + m_config->deleteEntry(p+"useTDEWallet"); } void RdpHostPref::setDefaults() @@ -104,14 +104,14 @@ void RdpHostPref::setDefaults() m_colorDepth = m_config->readNumEntry("rdpColorDepth", 24); m_layout = m_config->readEntry("rdpKeyboardLayout", "en-us"); m_askOnConnect = m_config->readBoolEntry("rdpShowHostPreferences", true); - m_useKWallet = m_config->readBoolEntry("rdpUseKWallet", true); + m_useTDEWallet = m_config->readBoolEntry("rdpUseTDEWallet", true); } TQString RdpHostPref::prefDescription() const { - return i18n("Show Preferences: %1, Resolution: %2x%3, Color Depth: %4, Keymap: %5, KWallet: %6") + return i18n("Show Preferences: %1, Resolution: %2x%3, Color Depth: %4, Keymap: %5, TDEWallet: %6") .arg(m_askOnConnect ? i18n("yes") : i18n("no")).arg(m_width).arg(m_height) - .arg(m_colorDepth).arg(m_layout).arg(m_useKWallet ? i18n("yes") : i18n("no")); + .arg(m_colorDepth).arg(m_layout).arg(m_useTDEWallet ? i18n("yes") : i18n("no")); } void RdpHostPref::setWidth(int w) @@ -170,11 +170,11 @@ bool RdpHostPref::askOnConnect() const return m_askOnConnect; } -void RdpHostPref::setUseKWallet(bool use) { - m_useKWallet = use; +void RdpHostPref::setUseTDEWallet(bool use) { + m_useTDEWallet = use; save(); } -bool RdpHostPref::useKWallet() const { - return m_useKWallet; +bool RdpHostPref::useTDEWallet() const { + return m_useTDEWallet; } -- cgit v1.2.1