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