summaryrefslogtreecommitdiffstats
path: root/krdc/rdp/rdphostpref.h
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.h
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.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;