From 1f1b773a35a1403af02c5f5a359933bfc459457d Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 17 Dec 2015 13:29:34 +0100 Subject: 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 --- src/plugins/platforms/vnc/qvnc_p.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/plugins/platforms/vnc/qvnc_p.h') 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; }; -- cgit v1.2.3