summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfscursor.h
diff options
context:
space:
mode:
authorVolker Krause <volker.krause@kdab.com>2012-12-05 11:42:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-07 08:46:15 +0100
commit0c5e2328284e97a293e1153c6ad1bcd2706e044a (patch)
tree52d5f899cfc3f185882a26923185df9ca8632154 /src/plugins/platforms/eglfs/qeglfscursor.h
parent425367f89255764234313889b403bf53b0993e0a (diff)
Compile with QT_NO_CURSOR.
Mostly straightforward, the a11y changes might look a bit drastic, but the base class QAccessibleTextWidget was already disabled in this case, so we have to obviously take out its sub-classes as well. Change-Id: I682ace20d6938688ddb1da23c3463f3c025fab8e Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfscursor.h')
-rw-r--r--src/plugins/platforms/eglfs/qeglfscursor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfscursor.h b/src/plugins/platforms/eglfs/qeglfscursor.h
index 9a91b73894..1c82abdb44 100644
--- a/src/plugins/platforms/eglfs/qeglfscursor.h
+++ b/src/plugins/platforms/eglfs/qeglfscursor.h
@@ -57,7 +57,9 @@ public:
QEglFSCursor(QEglFSScreen *screen);
~QEglFSCursor();
+#ifndef QT_NO_CURSOR
void changeCursor(QCursor *cursor, QWindow *widget) Q_DECL_OVERRIDE;
+#endif
void pointerEvent(const QMouseEvent &event) Q_DECL_OVERRIDE;
QPoint pos() const Q_DECL_OVERRIDE;
@@ -68,7 +70,9 @@ public:
virtual void paintOnScreen();
protected:
+#ifndef QT_NO_CURSOR
bool setCurrentCursor(QCursor *cursor);
+#endif
void draw(const QRectF &rect);
void update(const QRegion &region);