Changeset View
Changeset View
Standalone View
Standalone View
tabletmodemanager.h
Show All 18 Lines | |||||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef KWIN_TABLETMODEMANAGER_H | 22 | #ifndef KWIN_TABLETMODEMANAGER_H | ||
23 | #define KWIN_TABLETMODEMANAGER_H | 23 | #define KWIN_TABLETMODEMANAGER_H | ||
24 | 24 | | |||
25 | #include <QObject> | 25 | #include <QObject> | ||
26 | #include <kwinglobals.h> | 26 | #include <kwinglobals.h> | ||
27 | #include <kwin_export.h> | ||||
27 | 28 | | |||
28 | namespace KWin { | 29 | namespace KWin { | ||
29 | 30 | | |||
30 | class TabletModeManager : public QObject | 31 | class KWIN_EXPORT TabletModeManager : public QObject | ||
31 | { | 32 | { | ||
32 | Q_OBJECT | 33 | Q_OBJECT | ||
33 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin.TabletModeManager") | 34 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin.TabletModeManager") | ||
34 | //assuming such a switch is not pluggable for now | 35 | //assuming such a switch is not pluggable for now | ||
35 | Q_PROPERTY(bool tabletModeAvailable READ isTabletModeAvailable NOTIFY tabletModeAvailableChanged) | 36 | Q_PROPERTY(bool tabletModeAvailable READ isTabletModeAvailable NOTIFY tabletModeAvailableChanged) | ||
36 | Q_PROPERTY(bool tabletMode READ isTablet NOTIFY tabletModeChanged) | 37 | Q_PROPERTY(bool tabletMode READ isTablet NOTIFY tabletModeChanged) | ||
37 | 38 | | |||
38 | public: | 39 | public: | ||
Show All 23 Lines |