From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krdc/rdp/rdphostpref.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'krdc/rdp/rdphostpref.cpp') diff --git a/krdc/rdp/rdphostpref.cpp b/krdc/rdp/rdphostpref.cpp index d3854eb5..ba876146 100644 --- a/krdc/rdp/rdphostpref.cpp +++ b/krdc/rdp/rdphostpref.cpp @@ -21,9 +21,9 @@ #include #include -const QString RdpHostPref::RdpType = "RDP"; +const TQString RdpHostPref::RdpType = "RDP"; -RdpHostPref::RdpHostPref(KConfig *conf, const QString &host, const QString &type) : +RdpHostPref::RdpHostPref(KConfig *conf, const TQString &host, const TQString &type) : HostPref(conf, host, type), m_width(0), m_height(0), @@ -43,7 +43,7 @@ void RdpHostPref::save() if ( !m_host.isEmpty() && !m_type.isEmpty() ) { m_config->setGroup("PerHostSettings"); - QString p = prefix(); + TQString p = prefix(); m_config->writeEntry(p+"exists", true); m_config->writeEntry(p+"width", m_width); m_config->writeEntry(p+"height", m_height); @@ -69,7 +69,7 @@ void RdpHostPref::load() if ( !m_host.isEmpty() && !m_type.isEmpty() ) { m_config->setGroup("PerHostSettings"); - QString p = prefix(); + TQString p = prefix(); m_width = m_config->readNumEntry(p+"width", 0); m_height = m_config->readNumEntry(p+"height", 0); m_colorDepth = m_config->readNumEntry(p+"colorDepth", 24); @@ -86,7 +86,7 @@ void RdpHostPref::load() void RdpHostPref::remove() { m_config->setGroup("PerHostSettings"); - QString p = prefix(); + TQString p = prefix(); m_config->deleteEntry(p+"exists"); m_config->deleteEntry(p+"width"); m_config->deleteEntry(p+"height"); @@ -107,7 +107,7 @@ void RdpHostPref::setDefaults() m_useKWallet = m_config->readBoolEntry("rdpUseKWallet", true); } -QString RdpHostPref::prefDescription() const +TQString RdpHostPref::prefDescription() const { return i18n("Show Preferences: %1, Resolution: %2x%3, Color Depth: %4, Keymap: %5, KWallet: %6") .arg(m_askOnConnect ? i18n("yes") : i18n("no")).arg(m_width).arg(m_height) @@ -148,13 +148,13 @@ int RdpHostPref::colorDepth() const } -void RdpHostPref::setLayout(const QString &l) +void RdpHostPref::setLayout(const TQString &l) { m_layout = l; save(); } -QString RdpHostPref::layout() const +TQString RdpHostPref::layout() const { return m_layout; } -- cgit v1.2.1