summaryrefslogtreecommitdiff
path: root/src/client/qwaylandinputdevice_p.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-02-20 14:00:19 +0100
committerJohan Helsing <johan.helsing@qt.io>2018-02-28 14:25:27 +0000
commitced351295b67f0c8ef72802a11d2a0f2381b46e8 (patch)
treebdd563c8d0f731f3cb949494ee07e87a998aa7e5 /src/client/qwaylandinputdevice_p.h
parent1fab644753443a525475740fc23172dedaa70d0e (diff)
downloadqtwayland-ced351295b67f0c8ef72802a11d2a0f2381b46e8.tar.gz
Use override when applicable
Applied automatic fixes using clang-tidy's modernize-use-override. This adds the "override" keyword where it's possible and also removes the "virtual" keyword when redundant. Change-Id: I899950e5cf8782785d30a245a9c69c1720905d50 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice_p.h')
-rw-r--r--src/client/qwaylandinputdevice_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h
index 2c7d2cff..48c1cf57 100644
--- a/src/client/qwaylandinputdevice_p.h
+++ b/src/client/qwaylandinputdevice_p.h
@@ -102,7 +102,7 @@ public:
class Touch;
QWaylandInputDevice(QWaylandDisplay *display, int version, uint32_t id);
- ~QWaylandInputDevice();
+ ~QWaylandInputDevice() override;
uint32_t capabilities() const { return mCaps; }
@@ -187,7 +187,7 @@ class Q_WAYLAND_CLIENT_EXPORT QWaylandInputDevice::Keyboard : public QObject, pu
public:
Keyboard(QWaylandInputDevice *p);
- virtual ~Keyboard();
+ ~Keyboard() override;
void stopRepeat();
@@ -247,7 +247,7 @@ class Q_WAYLAND_CLIENT_EXPORT QWaylandInputDevice::Pointer : public QtWayland::w
public:
Pointer(QWaylandInputDevice *p);
- virtual ~Pointer();
+ ~Pointer() override;
void pointer_enter(uint32_t serial, struct wl_surface *surface,
wl_fixed_t sx, wl_fixed_t sy) override;
@@ -281,7 +281,7 @@ class Q_WAYLAND_CLIENT_EXPORT QWaylandInputDevice::Touch : public QtWayland::wl_
{
public:
Touch(QWaylandInputDevice *p);
- virtual ~Touch();
+ ~Touch() override;
void touch_down(uint32_t serial,
uint32_t time,