Changeset View
Changeset View
Standalone View
Standalone View
dbusinterface.h
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 78 | { | |||
---|---|---|---|---|---|
110 | * | 110 | * | ||
111 | * Possible values: | 111 | * Possible values: | ||
112 | * @li glx | 112 | * @li glx | ||
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) | ||||
sebas: same name for property and READ accessor? | |||||
118 | public: | 119 | public: | ||
119 | explicit CompositorDBusInterface(Compositor *parent); | 120 | explicit CompositorDBusInterface(Compositor *parent); | ||
120 | virtual ~CompositorDBusInterface() = default; | 121 | virtual ~CompositorDBusInterface() = default; | ||
121 | 122 | | |||
122 | bool isActive() const; | 123 | bool isActive() const; | ||
123 | bool isCompositingPossible() const; | 124 | bool isCompositingPossible() const; | ||
124 | QString compositingNotPossibleReason() const; | 125 | QString compositingNotPossibleReason() const; | ||
125 | bool isOpenGLBroken() const; | 126 | bool isOpenGLBroken() const; | ||
126 | QString compositingType() const; | 127 | QString compositingType() const; | ||
127 | QStringList supportedOpenGLPlatformInterfaces() const; | 128 | QStringList supportedOpenGLPlatformInterfaces() const; | ||
129 | bool platformRequiresCompositing() const; | ||||
128 | 130 | | |||
129 | public Q_SLOTS: | 131 | public Q_SLOTS: | ||
130 | /** | 132 | /** | ||
131 | * @brief Suspends the Compositor if it is currently active. | 133 | * @brief Suspends the Compositor if it is currently active. | ||
132 | * | 134 | * | ||
133 | * Note: it is possible that the Compositor is not able to suspend. Use @link isActive to check | 135 | * Note: it is possible that the Compositor is not able to suspend. Use @link isActive to check | ||
134 | * whether the Compositor has been suspended. | 136 | * whether the Compositor has been suspended. | ||
135 | * | 137 | * | ||
Show All 34 Lines |
same name for property and READ accessor?