diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /krdc/rdp | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/rdp')
-rw-r--r-- | krdc/rdp/krdpview.cpp | 8 | ||||
-rw-r--r-- | krdc/rdp/krdpview.h | 4 | ||||
-rw-r--r-- | krdc/rdp/rdesktop.patch | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/krdc/rdp/krdpview.cpp b/krdc/rdp/krdpview.cpp index 4462cca3..4e5bc632 100644 --- a/krdc/rdp/krdpview.cpp +++ b/krdc/rdp/krdpview.cpp @@ -45,8 +45,8 @@ extern KWallet::Wallet *wallet; static KRdpView *krdpview; -RdpContainer::RdpContainer(TQWidget *tqparent, const char *name, WFlags f) : - QXEmbed(tqparent, name, f), +RdpContainer::RdpContainer(TQWidget *parent, const char *name, WFlags f) : + QXEmbed(parent, name, f), m_viewOnly(false) { } @@ -82,12 +82,12 @@ bool RdpContainer::x11Event(XEvent *e) // constructor -KRdpView::KRdpView(TQWidget *tqparent, const char *name, +KRdpView::KRdpView(TQWidget *parent, const char *name, const TQString &host, int port, const TQString &user, const TQString &password, int flags, const TQString &domain, const TQString &shell, const TQString &directory) : - KRemoteView(tqparent, name, TQt::WResizeNoErase | TQt::WRepaintNoErase | TQt::WStaticContents), + KRemoteView(parent, name, TQt::WResizeNoErase | TQt::WRepaintNoErase | TQt::WStaticContents), m_name(name), m_host(host), m_port(port), diff --git a/krdc/rdp/krdpview.h b/krdc/rdp/krdpview.h index c0df50e7..c34d3c27 100644 --- a/krdc/rdp/krdpview.h +++ b/krdc/rdp/krdpview.h @@ -39,7 +39,7 @@ class RdpContainer : public QXEmbed friend class KRdpView; public: - RdpContainer(TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0); + RdpContainer(TQWidget *parent = 0, const char *name = 0, WFlags f = 0); ~RdpContainer(); signals: @@ -60,7 +60,7 @@ class KRdpView : public KRemoteView public: // constructor and destructor - KRdpView(TQWidget *tqparent = 0, const char *name = 0, + KRdpView(TQWidget *parent = 0, const char *name = 0, const TQString &host = TQString(), int port = TCP_PORT_RDP, const TQString &user = TQString(), const TQString &password = TQString(), int flags = RDP_LOGON_NORMAL, const TQString &domain = TQString(), diff --git a/krdc/rdp/rdesktop.patch b/krdc/rdp/rdesktop.patch index 954d5fc2..a027799c 100644 --- a/krdc/rdp/rdesktop.patch +++ b/krdc/rdp/rdesktop.patch @@ -71,6 +71,6 @@ + XReparentWindow(g_display, g_wnd, g_embed_wnd, 0, 0); + } + - input_tqmask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask | + input_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask | VisibilityChangeMask | FocusChangeMask; |