From 09be0e63b9f7733f19b0859f7a96f29b3dc8f241 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Thu, 7 Mar 2019 09:10:20 +0100 Subject: Compositor: Add missing WaylandSurface::bufferSize property ...and also add revision info for the bufferSizeChanged signal. Change-Id: I2b8e9bea7cafc70c078e74b191c3c87b322ff216 Reviewed-by: Kai Koehne --- src/compositor/compositor_api/qwaylandsurface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3