diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-07-29 13:52:59 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:09:41 +0200 |
commit | 5d36c263ec9d3e5f95cf098d3f72b135089deeb3 (patch) | |
tree | bad44c5d020609b092b6e922fec54d8e2ca8f4af /src/compositor/compositor_api/qwaylandquicksurface.h | |
parent | 030a09ad7ad0eaa81823f7eb90e8512da2ba097b (diff) |
Add a shellView property on QWaylandSurface
Change-Id: I68d05698b3caed11ccec39ef06ac5f912d782cf2
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquicksurface.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquicksurface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandquicksurface.h b/src/compositor/compositor_api/qwaylandquicksurface.h index f732bec30..ef2de1f7d 100644 --- a/src/compositor/compositor_api/qwaylandquicksurface.h +++ b/src/compositor/compositor_api/qwaylandquicksurface.h @@ -56,6 +56,7 @@ class Q_COMPOSITOR_EXPORT QWaylandQuickSurface : public QWaylandSurface 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) public: QWaylandQuickSurface(wl_client *client, quint32 id, int version, QWaylandQuickCompositor *compositor); ~QWaylandQuickSurface(); @@ -70,12 +71,14 @@ public: QObject *windowPropertyMap() const; + QWaylandSurfaceItem *shellView() const; private: bool event(QEvent *event) Q_DECL_OVERRIDE; Q_SIGNALS: void useTextureAlphaChanged(); void clientRenderingEnabledChanged(); + void shellViewCreated(); private: void updateTexture(); |