diff options
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquicksurface.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquicksurface.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/compositor/compositor_api/qwaylandquicksurface.h b/src/compositor/compositor_api/qwaylandquicksurface.h index 7e079471d..03d889e72 100644 --- a/src/compositor/compositor_api/qwaylandquicksurface.h +++ b/src/compositor/compositor_api/qwaylandquicksurface.h @@ -53,8 +53,6 @@ class Q_COMPOSITOR_EXPORT QWaylandQuickSurface : public QWaylandSurface Q_DECLARE_PRIVATE(QWaylandQuickSurface) Q_PROPERTY(bool useTextureAlpha READ useTextureAlpha WRITE setUseTextureAlpha NOTIFY useTextureAlphaChanged) Q_PROPERTY(bool clientRenderingEnabled READ clientRenderingEnabled WRITE setClientRenderingEnabled NOTIFY clientRenderingEnabledChanged) - Q_PROPERTY(QObject *windowProperties READ windowPropertyMap CONSTANT) - Q_PROPERTY(QWaylandSurfaceItem *shellView READ shellView NOTIFY shellViewCreated) Q_PROPERTY(QWindow *primaryOutputWindow READ primaryOutputWindow NOTIFY primaryOutputWindowChanged) public: QWaylandQuickSurface(wl_client *client, quint32 id, int version, QWaylandQuickCompositor *compositor); @@ -66,18 +64,13 @@ public: bool clientRenderingEnabled() const; void setClientRenderingEnabled(bool enabled); - QObject *windowPropertyMap() const; - - QWaylandSurfaceItem *shellView() const; -private: - bool event(QEvent *event) Q_DECL_OVERRIDE; - QWindow *primaryOutputWindow() const; +protected: + bool event(QEvent *event) Q_DECL_OVERRIDE; Q_SIGNALS: void useTextureAlphaChanged(); void clientRenderingEnabledChanged(); - void shellViewCreated(); void primaryOutputWindowChanged(); }; |