diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-17 11:51:33 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:10:33 +0200 |
commit | e38e7cf94d2c66d0562edaafe8ece708c191cbde (patch) | |
tree | 040370814c1ff3bd8b2e70f2d7277b4dcb08e361 /src/compositor/compositor_api/qwaylandsurface.h | |
parent | 8dc36b6e0269cb51ce53c203ebb53cfa97854c8e (diff) |
Move ref and unref from QWaylandSurface to private
There shouldn't be a need to call these functions manually, and if there
is then their available in the private implementation.
Also removed some relay functions in QWaylandSurface
Change-Id: I18944c5f1fe87a070baf0c19f1b48aec796774d7
Diffstat (limited to 'src/compositor/compositor_api/qwaylandsurface.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandsurface.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurface.h b/src/compositor/compositor_api/qwaylandsurface.h index cea89b7a7..b69312d58 100644 --- a/src/compositor/compositor_api/qwaylandsurface.h +++ b/src/compositor/compositor_api/qwaylandsurface.h @@ -97,13 +97,11 @@ public: bool inputRegionContains(const QPoint &p) const; Q_INVOKABLE void destroy(); - bool isDestroyed() const; + Q_INVOKABLE bool isDestroyed() const; + Q_INVOKABLE void frameStarted(); Q_INVOKABLE void sendFrameCallbacks(); - void ref(); - void deref(); - QWaylandView *throttlingView() const; void setThrottlingView(QWaylandView *view); |