5#ifndef QWAYLANDDATADEVICE_H
6#define QWAYLANDDATADEVICE_H
24#include <QtWaylandClient/private/qwayland-wayland.h>
35class qt_toplevel_drag_v1;
41class QWaylandDataDeviceManager;
42class QWaylandDataOffer;
43class QWaylandDataSource;
44class QWaylandInputDevice;
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;
101 QtWayland::qt_toplevel_drag_v1 *m_toplevelDrag =
nullptr;
\inmodule QtCore\reentrant
~QWaylandDataDevice() override
void data_device_selection(struct ::wl_data_offer *id) override
QWaylandDataSource * selectionSource() const
QWaylandDataOffer * selectionOffer() const
void setSelectionSource(QWaylandDataSource *source)
void data_device_data_offer(struct ::wl_data_offer *id) override
void invalidateSelectionOffer()
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLsizei GLsizei GLchar * source
#define QT_REQUIRE_CONFIG(feature)
QNetworkAccessManager manager