summaryrefslogtreecommitdiffstats
path: root/krdc/rdp/rdphostpref.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krdc/rdp/rdphostpref.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/rdp/rdphostpref.cpp')
-rw-r--r--krdc/rdp/rdphostpref.cpp16
1 files changed, 8 insertions, 8 deletions
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 <kconfig.h>
#include <klocale.h>
-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;
}