diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-12-17 13:29:34 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-06-28 10:18:27 +0000 |
commit | 1f1b773a35a1403af02c5f5a359933bfc459457d (patch) | |
tree | f3b4f79213da529ce9898e3dd3ffd6de53427b05 /src/plugins/platforms/vnc/qvnc_p.h | |
parent | ef4db5a347c6ad1ddb75027c8449ade64b731d08 (diff) |
Support for client side cursors in the VNC plugin
Client side cursors are a major performance optimization,
avoiding the need to transmit images to the client
just because the cursor has moved.
Change-Id: Icdf4ff948571d39d82c86d251bca46390889d02f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/plugins/platforms/vnc/qvnc_p.h')
-rw-r--r-- | src/plugins/platforms/vnc/qvnc_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/platforms/vnc/qvnc_p.h b/src/plugins/platforms/vnc/qvnc_p.h index f9364656b7..b67c1df838 100644 --- a/src/plugins/platforms/vnc/qvnc_p.h +++ b/src/plugins/platforms/vnc/qvnc_p.h @@ -416,9 +416,6 @@ public: inline QTcpSocket* clientSocket() const { return client; } QImage screenImage() const; inline bool doPixelConversion() const { return needConversion; } -#ifndef QT_NO_QWS_CURSOR - inline bool hasClientCursor() const { return qvnc_cursor != 0; } -#endif private: void setPixelFormat(); @@ -464,10 +461,6 @@ private: bool dirtyCursor; int refreshRate; QVncScreen *qvnc_screen; -#ifndef QT_NO_QWS_CURSOR - QVncClientCursor *qvnc_cursor; -#endif - QRfbEncoder *encoder; }; |