summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/vnchostpref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/vnc/vnchostpref.cpp')
-rw-r--r--krdc/vnc/vnchostpref.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krdc/vnc/vnchostpref.cpp b/krdc/vnc/vnchostpref.cpp
index a17f8ea1..7fea2889 100644
--- a/krdc/vnc/vnchostpref.cpp
+++ b/krdc/vnc/vnchostpref.cpp
@@ -19,9 +19,9 @@
#include <kconfig.h>
#include <klocale.h>
-const QString VncHostPref::VncType = "VNC";
+const TQString VncHostPref::VncType = "VNC";
-VncHostPref::VncHostPref(KConfig *conf, const QString &host, const QString &type) :
+VncHostPref::VncHostPref(KConfig *conf, const TQString &host, const TQString &type) :
HostPref(conf, host, type),
m_quality(0),
m_useKWallet(true),
@@ -35,7 +35,7 @@ void VncHostPref::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+"quality", m_quality);
m_config->writeEntry(p+"askOnConnect", m_askOnConnect);
@@ -54,7 +54,7 @@ void VncHostPref::load() {
if ( !m_host.isEmpty() && !m_type.isEmpty() )
{
m_config->setGroup("PerHostSettings");
- QString p = prefix();
+ TQString p = prefix();
m_quality = m_config->readNumEntry(p+"quality", 0);
m_askOnConnect = m_config->readBoolEntry(p+"askOnConnect", true);
m_useKWallet = m_config->readBoolEntry(p+"useKWallet", true);
@@ -67,7 +67,7 @@ void VncHostPref::load() {
void VncHostPref::remove() {
m_config->setGroup("PerHostSettings");
- QString p = prefix();
+ TQString p = prefix();
m_config->deleteEntry(p+"exists");
m_config->deleteEntry(p+"quality");
m_config->deleteEntry(p+"askOnConnect");
@@ -80,8 +80,8 @@ void VncHostPref::setDefaults() {
m_useKWallet = m_config->readBoolEntry("vncUseKWallet", true);
}
-QString VncHostPref::prefDescription() const {
- QString q;
+TQString VncHostPref::prefDescription() const {
+ TQString q;
switch(m_quality) {
case 0:
q = i18n("High");