summaryrefslogtreecommitdiffstats
path: root/krdc/rdp/rdphostpref.h
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/rdp/rdphostpref.h')
-rw-r--r--krdc/rdp/rdphostpref.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/krdc/rdp/rdphostpref.h b/krdc/rdp/rdphostpref.h
index bf96da02..6044f261 100644
--- a/krdc/rdp/rdphostpref.h
+++ b/krdc/rdp/rdphostpref.h
@@ -22,7 +22,7 @@
#include "hostpreferences.h"
-static const QString rdpKeymaps[] = { "ar",
+static const TQString rdpKeymaps[] = { "ar",
"cs",
"da",
"de",
@@ -58,7 +58,7 @@ static const QString rdpKeymaps[] = { "ar",
static const int rdpNumKeymaps = 33;
static const int rdpDefaultKeymap = 6; // en-us
-inline int keymap2int(const QString &keymap)
+inline int keymap2int(const TQString &keymap)
{
int layout;
for(layout = 0; layout < rdpNumKeymaps; layout++)
@@ -75,7 +75,7 @@ inline int keymap2int(const QString &keymap)
return layout;
}
-inline QString int2keymap(int layout)
+inline TQString int2keymap(int layout)
{
if(layout < 0 || layout >= rdpNumKeymaps)
{
@@ -93,7 +93,7 @@ class RdpHostPref : public HostPref
int m_width;
int m_height;
int m_colorDepth;
- QString m_layout;
+ TQString m_layout;
bool m_askOnConnect;
bool m_useKWallet;
@@ -103,21 +103,21 @@ class RdpHostPref : public HostPref
virtual void remove();
public:
- static const QString RdpType;
+ static const TQString RdpType;
- RdpHostPref(KConfig *conf, const QString &host=QString::null,
- const QString &type=QString::null);
+ RdpHostPref(KConfig *conf, const TQString &host=TQString::null,
+ const TQString &type=TQString::null);
virtual ~RdpHostPref();
- virtual QString prefDescription() const;
+ virtual TQString prefDescription() const;
void setWidth(int w);
int width() const;
void setHeight(int h);
int height() const;
void setColorDepth(int depth);
int colorDepth() const;
- void setLayout(const QString &l);
- QString layout() const;
+ void setLayout(const TQString &l);
+ TQString layout() const;
void setAskOnConnect(bool ask);
bool askOnConnect() const;
bool useKWallet() const;