Changeset View
Changeset View
Standalone View
Standalone View
dbusinterface.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | * @author Martin Gräßlin <mgraesslin@kde.org> | 44 | * @author Martin Gräßlin <mgraesslin@kde.org> | ||
45 | **/ | 45 | **/ | ||
46 | class DBusInterface: public QObject | 46 | class DBusInterface: public QObject | ||
47 | { | 47 | { | ||
48 | Q_OBJECT | 48 | Q_OBJECT | ||
49 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin") | 49 | Q_CLASSINFO("D-Bus Interface", "org.kde.KWin") | ||
50 | public: | 50 | public: | ||
51 | explicit DBusInterface(QObject *parent); | 51 | explicit DBusInterface(QObject *parent); | ||
52 | virtual ~DBusInterface(); | 52 | ~DBusInterface() override; | ||
53 | 53 | | |||
54 | public: // PROPERTIES | 54 | public: // PROPERTIES | ||
55 | public Q_SLOTS: // METHODS | 55 | public Q_SLOTS: // METHODS | ||
56 | Q_NOREPLY void cascadeDesktop(); | 56 | Q_NOREPLY void cascadeDesktop(); | ||
57 | int currentDesktop(); | 57 | int currentDesktop(); | ||
58 | Q_NOREPLY void killWindow(); | 58 | Q_NOREPLY void killWindow(); | ||
59 | void nextDesktop(); | 59 | void nextDesktop(); | ||
60 | void previousDesktop(); | 60 | void previousDesktop(); | ||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 78 | { | |||
113 | * @li egl | 113 | * @li egl | ||
114 | * | 114 | * | ||
115 | * Values depend on operation mode and compile time options. | 115 | * Values depend on operation mode and compile time options. | ||
116 | **/ | 116 | **/ | ||
117 | Q_PROPERTY(QStringList supportedOpenGLPlatformInterfaces READ supportedOpenGLPlatformInterfaces) | 117 | Q_PROPERTY(QStringList supportedOpenGLPlatformInterfaces READ supportedOpenGLPlatformInterfaces) | ||
118 | Q_PROPERTY(bool platformRequiresCompositing READ platformRequiresCompositing) | 118 | Q_PROPERTY(bool platformRequiresCompositing READ platformRequiresCompositing) | ||
119 | public: | 119 | public: | ||
120 | explicit CompositorDBusInterface(Compositor *parent); | 120 | explicit CompositorDBusInterface(Compositor *parent); | ||
121 | virtual ~CompositorDBusInterface() = default; | 121 | ~CompositorDBusInterface() override = default; | ||
122 | 122 | | |||
123 | bool isActive() const; | 123 | bool isActive() const; | ||
124 | bool isCompositingPossible() const; | 124 | bool isCompositingPossible() const; | ||
125 | QString compositingNotPossibleReason() const; | 125 | QString compositingNotPossibleReason() const; | ||
126 | bool isOpenGLBroken() const; | 126 | bool isOpenGLBroken() const; | ||
127 | QString compositingType() const; | 127 | QString compositingType() const; | ||
128 | QStringList supportedOpenGLPlatformInterfaces() const; | 128 | QStringList supportedOpenGLPlatformInterfaces() const; | ||
129 | bool platformRequiresCompositing() const; | 129 | bool platformRequiresCompositing() const; | ||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |