diff options
Diffstat (limited to 'krfb/krfb/rfbcontroller.h')
-rw-r--r-- | krfb/krfb/rfbcontroller.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/krfb/krfb/rfbcontroller.h b/krfb/krfb/rfbcontroller.h index 6ef49a6d..d0d8af36 100644 --- a/krfb/krfb/rfbcontroller.h +++ b/krfb/krfb/rfbcontroller.h @@ -39,7 +39,7 @@ class TQCloseEvent; -class QClipboard; +class TQClipboard; class RFBController; typedef enum { @@ -77,7 +77,7 @@ public: }; class PointerEvent : public VNCEvent { - int button_mask, x, y; + int button_tqmask, x, y; static bool initialized; static Display *dpy; @@ -122,6 +122,7 @@ public: */ class RFBController : public TQObject { Q_OBJECT + TQ_OBJECT friend class SessionEstablishedEvent; friend class ClipboardEvent; @@ -137,7 +138,7 @@ public: void connectionClosed(); bool handleCheckPassword(rfbClientPtr, const char *, int); void handleKeyEvent(bool down, KeySym keySym); - void handlePointerEvent(int button_mask, int x, int y); + void handlePointerEvent(int button_tqmask, int x, int y); enum rfbNewClientAction handleNewClient(rfbClientPtr cl); void clipboardToServer(const TQString &text); void handleClientGone(); @@ -176,7 +177,7 @@ private: LAST_SYNC_TO_CLIENT } lastClipboardDirection; TQString lastClipboardText; - QClipboard *clipboard; + TQClipboard *clipboard; Configuration *configuration; XUpdateScanner *scanner; @@ -210,6 +211,7 @@ private slots: */ class XTestDisabler : public TQObject { Q_OBJECT + TQ_OBJECT public: XTestDisabler(); bool disable; |