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.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'krdc/rdp/rdphostpref.h') 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; -- cgit v1.2.1