diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-03-07 09:10:20 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-03-07 09:59:00 +0000 |
commit | 09be0e63b9f7733f19b0859f7a96f29b3dc8f241 (patch) | |
tree | d5e63f64cf37ef16868aa27edd3a75c158e6e30a /src | |
parent | cab9fd474304dac5aeb4ac75087ceb80b82eeb82 (diff) |
Compositor: Add missing WaylandSurface::bufferSize property
...and also add revision info for the bufferSizeChanged signal.
Change-Id: I2b8e9bea7cafc70c078e74b191c3c87b322ff216
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/compositor_api/qwaylandsurface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurface.h b/src/compositor/compositor_api/qwaylandsurface.h index cc09561f9..667f911c3 100644 --- a/src/compositor/compositor_api/qwaylandsurface.h +++ b/src/compositor/compositor_api/qwaylandsurface.h @@ -83,6 +83,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandSurface : public QWaylandObject Q_PROPERTY(QWaylandClient *client READ client CONSTANT) Q_PROPERTY(QRectF sourceGeometry READ sourceGeometry NOTIFY sourceGeometryChanged REVISION 13) Q_PROPERTY(QSize destinationSize READ destinationSize NOTIFY destinationSizeChanged REVISION 13) + Q_PROPERTY(QSize bufferSize READ bufferSize NOTIFY bufferSizeChanged REVISION 13) #if QT_DEPRECATED_SINCE(5, 13) Q_PROPERTY(QSize size READ size NOTIFY sizeChanged) // Qt 6: Remove #endif @@ -169,7 +170,7 @@ Q_SIGNALS: #if QT_DEPRECATED_SINCE(5, 13) QT_DEPRECATED void sizeChanged(); #endif - void bufferSizeChanged(); + Q_REVISION(13) void bufferSizeChanged(); void bufferScaleChanged(); void offsetForNextFrame(const QPoint &offset); void contentOrientationChanged(); |