12#include "qwayland-server-wayland.h"
16class AbstractDataSource;
17class DataDeviceInterface;
18class DataOfferInterface;
19class DataSourceInterface;
22class SurfaceInterface;
50 void data_device_start_drag(Resource *resource, wl_resource *source, wl_resource *origin, wl_resource *icon, uint32_t serial)
override;
The AbstractDataSource class abstracts the data that can be transferred to another client.
DataDeviceInterface allows clients to share data by copy-and-paste and drag-and-drop.
static DataDeviceInterfacePrivate * get(DataDeviceInterface *device)
void data_device_start_drag(Resource *resource, wl_resource *source, wl_resource *origin, wl_resource *icon, uint32_t serial) override
void data_device_release(Resource *resource) override
void data_device_set_selection(Resource *resource, wl_resource *source, uint32_t serial) override
QPointer< DataSourceInterface > selection
void data_device_destroy_resource(Resource *resource) override
DataDeviceInterfacePrivate(SeatInterface *seat, DataDeviceInterface *_q, wl_resource *resource)
DataOfferInterface * createDataOffer(AbstractDataSource *source)
Represents the Resource for the wl_data_offer interface.
Represents a Seat on the Wayland Display.
Resource representing a wl_surface.
QMetaObject::Connection targetActionConnection
QMetaObject::Connection destroyConnection
QMetaObject::Connection sourceActionConnection
SurfaceInterface * surface
QMetaObject::Connection posConnection