diff options
Diffstat (limited to 'src/compositor/compositor_api/qwaylanddrag.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylanddrag.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/compositor/compositor_api/qwaylanddrag.h b/src/compositor/compositor_api/qwaylanddrag.h index 00a2bee8e..08ad11018 100644 --- a/src/compositor/compositor_api/qwaylanddrag.h +++ b/src/compositor/compositor_api/qwaylanddrag.h @@ -46,12 +46,7 @@ QT_BEGIN_NAMESPACE class QWaylandDragPrivate; class QWaylandSurface; -class QWaylandView; -class QWaylandInputDevice; - -namespace QtWayland { - class DataDevice; -} +class QWaylandSeat; class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandDrag : public QObject { @@ -62,10 +57,11 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandDrag : public QObject Q_PROPERTY(bool visible READ visible NOTIFY iconChanged) public: - explicit QWaylandDrag(QWaylandInputDevice *inputDevice); + explicit QWaylandDrag(QWaylandSeat *seat); QWaylandSurface *icon() const; - // QPointF position() const; + QWaylandSurface *origin() const; + QWaylandSeat *seat() const; bool visible() const; public Q_SLOTS: @@ -76,9 +72,6 @@ public Q_SLOTS: Q_SIGNALS: void iconChanged(); void dragStarted(); // QWaylandSurface *icon???? - -private: - //friend class QtWayland::DataDevice; }; QT_END_NAMESPACE |