Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtWayland::DataOffer Class Reference

#include <qwldataoffer_p.h>

+ Inheritance diagram for QtWayland::DataOffer:
+ Collaboration diagram for QtWayland::DataOffer:

Public Member Functions

 DataOffer (DataSource *data_source, QtWaylandServer::wl_data_device::Resource *target)
 
 ~DataOffer () override
 

Protected Member Functions

void data_offer_accept (Resource *resource, uint32_t serial, const QString &mime_type) override
 
void data_offer_receive (Resource *resource, const QString &mime_type, int32_t fd) override
 
void data_offer_destroy (Resource *resource) override
 
void data_offer_destroy_resource (Resource *resource) override
 

Detailed Description

Definition at line 31 of file qwldataoffer_p.h.

Constructor & Destructor Documentation

◆ DataOffer()

QtWayland::DataOffer::DataOffer ( DataSource * data_source,
QtWaylandServer::wl_data_device::Resource * target )

Definition at line 16 of file qwldataoffer.cpp.

References mimeType, and QtWayland::DataSource::mimeTypes().

+ Here is the call graph for this function:

◆ ~DataOffer()

QtWayland::DataOffer::~DataOffer ( )
override

Definition at line 28 of file qwldataoffer.cpp.

Member Function Documentation

◆ data_offer_accept()

void QtWayland::DataOffer::data_offer_accept ( Resource * resource,
uint32_t serial,
const QString & mime_type )
overrideprotected

Definition at line 32 of file qwldataoffer.cpp.

References mimeType, and Q_UNUSED.

◆ data_offer_destroy()

void QtWayland::DataOffer::data_offer_destroy ( Resource * resource)
overrideprotected

Definition at line 49 of file qwldataoffer.cpp.

◆ data_offer_destroy_resource()

void QtWayland::DataOffer::data_offer_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 54 of file qwldataoffer.cpp.

◆ data_offer_receive()

void QtWayland::DataOffer::data_offer_receive ( Resource * resource,
const QString & mime_type,
int32_t fd )
overrideprotected

Definition at line 40 of file qwldataoffer.cpp.

References mimeType, and Q_UNUSED.


The documentation for this class was generated from the following files: