13#include <qwayland-server-wp-primary-selection-unstable-v1.h>
34 : QtWaylandServer::zwp_primary_selection_source_v1(resource)
40 QtWaylandServer::zwp_primary_selection_source_v1::Resource *resource)
54 wl_resource_destroy(resource->handle);
57PrimarySelectionSourceV1Interface::PrimarySelectionSourceV1Interface(::wl_resource *resource)
66 d->send_send(mimeType, fd);
82 return d->resource()->client();
87 if (
auto sourcePrivate = resource_cast<PrimarySelectionSourceV1InterfacePrivate *>(native)) {
88 return sourcePrivate->q;
95#include "moc_primaryselectionsource_v1.cpp"
void mimeTypeOffered(const QString &)
void aboutToBeDestroyed()
Represents the Resource for the zwp_primary_selection_source_v1 interface. Lifespan is mapped to the ...
~PrimarySelectionSourceV1Interface() override
wl_client * client() const override
static PrimarySelectionSourceV1Interface * get(wl_resource *native)
void requestData(const QString &mimeType, qint32 fd) override
QStringList mimeTypes() const override
void zwp_primary_selection_source_v1_destroy(Resource *resource) override
PrimarySelectionSourceV1Interface * q
void zwp_primary_selection_source_v1_offer(Resource *resource, const QString &mime_type) override
void zwp_primary_selection_source_v1_destroy_resource(Resource *resource) override
PrimarySelectionSourceV1InterfacePrivate(PrimarySelectionSourceV1Interface *q, ::wl_resource *resource)