summaryrefslogtreecommitdiffstats
path: root/krdc/rdp/krdpview.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/krdpview.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/krdpview.h')
-rw-r--r--krdc/rdp/krdpview.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/krdc/rdp/krdpview.h b/krdc/rdp/krdpview.h
index 029336f2..b115bd18 100644
--- a/krdc/rdp/krdpview.h
+++ b/krdc/rdp/krdpview.h
@@ -38,7 +38,7 @@ class RdpContainer : public QXEmbed
friend class KRdpView;
public:
- RdpContainer(QWidget *parent = 0, const char *name = 0, WFlags f = 0);
+ RdpContainer(TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
~RdpContainer();
signals:
@@ -58,23 +58,23 @@ class KRdpView : public KRemoteView
public:
// constructor and destructor
- KRdpView(QWidget *parent = 0, const char *name = 0,
- const QString &host = QString::null, int port = TCP_PORT_RDP,
- const QString &user = QString::null, const QString &password = QString::null,
- int flags = RDP_LOGON_NORMAL, const QString &domain = QString::null,
- const QString &shell = QString::null, const QString &directory = QString::null);
+ KRdpView(TQWidget *parent = 0, const char *name = 0,
+ const TQString &host = TQString::null, int port = TCP_PORT_RDP,
+ const TQString &user = TQString::null, const TQString &password = TQString::null,
+ int flags = RDP_LOGON_NORMAL, const TQString &domain = TQString::null,
+ const TQString &shell = TQString::null, const TQString &directory = TQString::null);
virtual ~KRdpView();
// functions regarding the window
- virtual QSize framebufferSize(); // returns the size of the remote view
- QSize sizeHint(); // returns the suggested size
+ virtual TQSize framebufferSize(); // returns the size of the remote view
+ TQSize sizeHint(); // returns the suggested size
virtual bool viewOnly();
virtual bool startFullscreen();
// functions regarding the connection
virtual void startQuitting(); // start closing the connection
virtual bool isQuitting(); // are we currently closing the connection?
- virtual QString host(); // return the host we're connected to
+ virtual TQString host(); // return the host we're connected to
virtual int port(); // return the port number we're connected on
virtual bool start(); // open a connection
@@ -87,19 +87,19 @@ class KRdpView : public KRemoteView
private:
// properties used for setting up the connection
- QString m_name; // name of the connection
- QString m_host; // the host to connect to
+ TQString m_name; // name of the connection
+ TQString m_host; // the host to connect to
int m_port; // the port on the host
- QString m_user; // the user to use to log in
- QString m_password; // the password to use
+ TQString m_user; // the user to use to log in
+ TQString m_password; // the password to use
int m_flags; // flags which determine how the connection is set up
- QString m_domain; // the domain where the host is on
- QString m_shell; // the shell to use
- QString m_directory; // the working directory on the server
+ TQString m_domain; // the domain where the host is on
+ TQString m_shell; // the shell to use
+ TQString m_directory; // the working directory on the server
// other properties
bool m_quitFlag; // if set: die
- QString m_clientVersion; // version number returned by rdesktop
+ TQString m_clientVersion; // version number returned by rdesktop
RdpContainer *m_container; // container for the rdesktop window
KProcess *m_process; // rdesktop process