59#if QT_CONFIG(draganddrop)
68#if QT_CONFIG(draganddrop)
69 void data_device_drop()
override;
70 void data_device_enter(uint32_t serial, struct ::wl_surface *surface, wl_fixed_t
x, wl_fixed_t
y, struct ::wl_data_offer *
id)
override;
71 void data_device_leave()
override;
72 void data_device_motion(uint32_t
time, wl_fixed_t
x, wl_fixed_t
y)
override;
77 void selectionSourceCancelled();
79#if QT_CONFIG(draganddrop)
80 void dragSourceCancelled();
84#if QT_CONFIG(draganddrop)
89 static int dropActionsToWl(Qt::DropActions dropActions);
94 uint32_t m_enterSerial = 0;
95 QPointer<QWindow> m_dragWindow;
97 QScopedPointer<QWaylandDataOffer> m_dragOffer;
98 QScopedPointer<QWaylandDataOffer> m_selectionOffer;
99 QScopedPointer<QWaylandDataSource> m_selectionSource;
100 QScopedPointer<QWaylandDataSource> m_dragSource;
101 QtWayland::xdg_toplevel_drag_v1 *m_toplevelDrag =
nullptr;