summaryrefslogtreecommitdiffhomepage
path: root/proto-libevdev/ftnoir_protocol_libevdev.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 10:36:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 10:36:35 +0100
commit78a44842a3eb222774f5f46c64118b17f65238ab (patch)
treebca04d060ccaffe8f2155daa0347c39196a8f0d0 /proto-libevdev/ftnoir_protocol_libevdev.h
parent77a2cab6fb297d0b95c79e55261e3be092cba350 (diff)
proto/libevdev: sprinkle some override
Diffstat (limited to 'proto-libevdev/ftnoir_protocol_libevdev.h')
-rw-r--r--proto-libevdev/ftnoir_protocol_libevdev.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/proto-libevdev/ftnoir_protocol_libevdev.h b/proto-libevdev/ftnoir_protocol_libevdev.h
index 4c220df4..c1be2ee2 100644
--- a/proto-libevdev/ftnoir_protocol_libevdev.h
+++ b/proto-libevdev/ftnoir_protocol_libevdev.h
@@ -21,16 +21,9 @@ class evdev : public TR, public IProtocol
public:
evdev();
~evdev() override;
- bool correct() {
- return dev != NULL;
- }
- void pose(const double *headpose);
-
- QString game_name()
- {
- return tr("Virtual joystick for Linux");
- }
-
+ bool correct() override { return dev != NULL; }
+ void pose(const double *headpose) override;
+ QString game_name() override { return tr("Virtual joystick for Linux"); }
module_status initialize() override;
private:
@@ -60,6 +53,6 @@ class evdevDll : public Metadata
{
Q_OBJECT
- QString name() { return tr("libevdev joystick receiver"); }
- QIcon icon() { return QIcon(":/images/linux.png"); }
+ QString name() override { return tr("libevdev joystick receiver"); }
+ QIcon icon() override { return QIcon(":/images/linux.png"); }
};