8#include <QtWaylandCompositor/private/qwaylandutils_p.h>
11#include <QtWaylandCompositor/private/wayland-wayland-server-protocol.h>
18 : QtWaylandServer::wl_data_source(client,
id, 1)
69 return QtWayland::fromResource<DataSource *>(resource);
74 m_mimeTypes.
append(mime_type);
79 wl_resource_destroy(resource->handle);
IOBluetoothDevice * device
void append(parameter_type t)
\macro QT_RESTRICTED_CAST_FROM_ASCII
void sourceDestroyed(DataSource *source)
void send(const QString &mimeType, int fd)
void setManager(DataDeviceManager *mgr)
DataSource(struct wl_client *client, uint32_t id, uint32_t time)
static DataSource * fromResource(struct ::wl_resource *resource)
void data_source_destroy_resource(Resource *resource) override
void data_source_offer(Resource *resource, const QString &mime_type) override
void setDevice(DataDevice *device)
void accept(const QString &mimeType)
void data_source_destroy(Resource *resource) override
QList< QString > mimeTypes() const
Combined button and popup list for selecting options.
void sourceDestroyed(DataSource *source)