Changeset View
Changeset View
Standalone View
Standalone View
libinput/device.h
Show All 22 Lines | |||||
23 | #include <libinput.h> | 23 | #include <libinput.h> | ||
24 | 24 | | |||
25 | #include <KConfigGroup> | 25 | #include <KConfigGroup> | ||
26 | 26 | | |||
27 | #include <QObject> | 27 | #include <QObject> | ||
28 | #include <QMatrix4x4> | 28 | #include <QMatrix4x4> | ||
29 | #include <QSizeF> | 29 | #include <QSizeF> | ||
30 | #include <QVector> | 30 | #include <QVector> | ||
31 | #include "kwin_export.h" | ||||
31 | 32 | | |||
32 | struct libinput_device; | 33 | struct libinput_device; | ||
33 | 34 | | |||
34 | namespace KWin | 35 | namespace KWin | ||
35 | { | 36 | { | ||
36 | namespace LibInput | 37 | namespace LibInput | ||
37 | { | 38 | { | ||
38 | enum class ConfigKey; | 39 | enum class ConfigKey; | ||
39 | 40 | | |||
40 | class Device : public QObject | 41 | class KWIN_EXPORT Device : public QObject | ||
41 | { | 42 | { | ||
42 | Q_OBJECT | 43 | Q_OBJECT | ||
43 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin.InputDevice") | 44 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin.InputDevice") | ||
44 | // | 45 | // | ||
45 | // general | 46 | // general | ||
46 | Q_PROPERTY(bool keyboard READ isKeyboard CONSTANT) | 47 | Q_PROPERTY(bool keyboard READ isKeyboard CONSTANT) | ||
47 | Q_PROPERTY(bool alphaNumericKeyboard READ isAlphaNumericKeyboard CONSTANT) | 48 | Q_PROPERTY(bool alphaNumericKeyboard READ isAlphaNumericKeyboard CONSTANT) | ||
48 | Q_PROPERTY(bool pointer READ isPointer CONSTANT) | 49 | Q_PROPERTY(bool pointer READ isPointer CONSTANT) | ||
▲ Show 20 Lines • Show All 533 Lines • Show Last 20 Lines |