diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-06-11 08:04:41 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-13 23:59:17 +0200 |
commit | 4b7a4c40d83b9bf64867bd90ddb059e8630f8167 (patch) | |
tree | 79abee53ee65197e46cfdbb5d8261c0da8b58be9 /src/plugins/platforms/eglfs | |
parent | 58d1b8253ef5d27940ddeff0be192e1027de0de9 (diff) |
eglfs: mark overriden methods with Q_DECL_OVERRIDE
The current cursor implementation can be a bit hard to read
without hints about which methods are overriden.
Change-Id: I3376890a13be46e1ece03d1442dd5a15ccd61382
Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfscursor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfscursor.h b/src/plugins/platforms/eglfs/qeglfscursor.h index 464b52e195..4a3ba8968b 100644 --- a/src/plugins/platforms/eglfs/qeglfscursor.h +++ b/src/plugins/platforms/eglfs/qeglfscursor.h @@ -57,11 +57,11 @@ public: QEglFSCursor(QEglFSScreen *screen); ~QEglFSCursor(); - void changeCursor(QCursor *cursor, QWindow *widget); - void pointerEvent(const QMouseEvent &event); + void changeCursor(QCursor *cursor, QWindow *widget) Q_DECL_OVERRIDE; + void pointerEvent(const QMouseEvent &event) Q_DECL_OVERRIDE; - QPoint pos() const; - void setPos(const QPoint &pos); + QPoint pos() const Q_DECL_OVERRIDE; + void setPos(const QPoint &pos) Q_DECL_OVERRIDE; QRect cursorRect() const; |