summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshell.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-05-25 11:41:01 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-05-27 11:01:47 +0000
commit9979e7e55dcd6c89b8b721c2af83998e9cc9d731 (patch)
treebf1d70cd9841ca9de492b9bcd73b9e86ff5186fd /src/compositor/extensions/qwaylandxdgshell.h
parent20692ad15b8ac0c24b12d30609f061a740c87f23 (diff)
Revert "Add position property to QWaylandXdgPopup"
This commit would have broken source and binary compatibility between 5.7.0 and 5.7.1. This reverts commit 20692ad15b8ac0c24b12d30609f061a740c87f23. Change-Id: Ic4156571889ec08a708e67c55d461d3052ce0ad0 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshell.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshell.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h
index 6a4489451..c01726ac6 100644
--- a/src/compositor/extensions/qwaylandxdgshell.h
+++ b/src/compositor/extensions/qwaylandxdgshell.h
@@ -198,19 +198,16 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandXdgPopup : public QWaylandCompositorEx
Q_DECLARE_PRIVATE(QWaylandXdgPopup)
Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged)
Q_PROPERTY(QWaylandSurface *parentSurface READ parentSurface NOTIFY parentSurfaceChanged)
- Q_PROPERTY(QPoint position READ position)
public:
QWaylandXdgPopup();
- QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface,
- const QPoint &position, const QWaylandResource &resource);
+ QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource);
Q_INVOKABLE void initialize(QWaylandXdgShell *shell, QWaylandSurface *surface,
- QWaylandSurface *parentSurface, const QPoint &position, const QWaylandResource &resource);
+ QWaylandSurface *parentSurface, const QWaylandResource &resource);
QWaylandSurface *surface() const;
QWaylandSurface *parentSurface() const;
- QPoint position() const;
static const struct wl_interface *interface();
static QByteArray interfaceName();