diff options
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv6.h')
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshellv6.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv6.h b/src/compositor/extensions/qwaylandxdgshellv6.h index 71f82521a..4231fa7f1 100644 --- a/src/compositor/extensions/qwaylandxdgshellv6.h +++ b/src/compositor/extensions/qwaylandxdgshellv6.h @@ -49,6 +49,8 @@ struct wl_resource; QT_BEGIN_NAMESPACE +#if QT_DEPRECATED_SINCE(5, 15) + class QWaylandClient; class QWaylandOutput; class QWaylandSeat; @@ -215,8 +217,8 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandXdgPopupV6 : public QObject { Q_OBJECT Q_DECLARE_PRIVATE(QWaylandXdgPopupV6) - Q_PROPERTY(QWaylandXdgSurfaceV6 *xdgSurface READ xdgSurface) - Q_PROPERTY(QWaylandXdgSurfaceV6 *parentXdgSurface READ parentXdgSurface) + Q_PROPERTY(QWaylandXdgSurfaceV6 *xdgSurface READ xdgSurface CONSTANT) + Q_PROPERTY(QWaylandXdgSurfaceV6 *parentXdgSurface READ parentXdgSurface CONSTANT) Q_PROPERTY(QRect configuredGeometry READ configuredGeometry NOTIFY configuredGeometryChanged) // Positioner properties @@ -259,6 +261,8 @@ private: friend class QWaylandXdgSurfaceV6Private; }; +#endif // QT_DEPRECATED_SINCE(5, 15) + QT_END_NAMESPACE #endif // QWAYLANDXDGSHELLV6_H |