diff options
author | Timothy Pearson <[email protected]> | 2013-08-27 23:21:05 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-08-27 23:21:05 -0500 |
commit | cce87d87ca74d317dd4102d64ff0a8e784f539a2 (patch) | |
tree | a4c7ce926dc52a9b36769b2b1551f9a5861b72b6 /krdc/rdp/rdphostpref.cpp | |
parent | 01fd5fb452ff67b8c31853c9a3bf181a74d44883 (diff) | |
download | tdenetwork-cce87d87ca74d317dd4102d64ff0a8e784f539a2.tar.gz tdenetwork-cce87d87ca74d317dd4102d64ff0a8e784f539a2.zip |
Rename KWallet to TDEWallet
Diffstat (limited to 'krdc/rdp/rdphostpref.cpp')
-rw-r--r-- | krdc/rdp/rdphostpref.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
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; } |