KWin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::DataOfferInterfacePrivate Class Reference
Inheritance diagram for KWin::DataOfferInterfacePrivate:

Public Member Functions

 DataOfferInterfacePrivate (AbstractDataSource *source, DataOfferInterface *q, wl_resource *resource)
 

Public Attributes

DataOfferInterfaceq
 
QPointer< AbstractDataSourcesource
 
std::optional< DataDeviceManagerInterface::DnDActions > supportedDnDActions = std::nullopt
 
std::optional< DataDeviceManagerInterface::DnDActionpreferredDnDAction = std::nullopt
 

Protected Member Functions

void data_offer_destroy_resource (Resource *resource) override
 
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_finish (Resource *resource) override
 
void data_offer_set_actions (Resource *resource, uint32_t dnd_actions, uint32_t preferred_action) override
 

Detailed Description

Definition at line 21 of file dataoffer.cpp.

Constructor & Destructor Documentation

◆ DataOfferInterfacePrivate()

KWin::DataOfferInterfacePrivate::DataOfferInterfacePrivate ( AbstractDataSource * source,
DataOfferInterface * q,
wl_resource * resource )

Definition at line 40 of file dataoffer.cpp.

Member Function Documentation

◆ data_offer_accept()

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

Definition at line 52 of file dataoffer.cpp.

◆ data_offer_destroy()

void KWin::DataOfferInterfacePrivate::data_offer_destroy ( Resource * resource)
overrideprotected

Definition at line 69 of file dataoffer.cpp.

◆ data_offer_destroy_resource()

void KWin::DataOfferInterfacePrivate::data_offer_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 151 of file dataoffer.cpp.

◆ data_offer_finish()

void KWin::DataOfferInterfacePrivate::data_offer_finish ( Resource * resource)
overrideprotected

Definition at line 74 of file dataoffer.cpp.

◆ data_offer_receive()

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

Definition at line 60 of file dataoffer.cpp.

◆ data_offer_set_actions()

void KWin::DataOfferInterfacePrivate::data_offer_set_actions ( Resource * resource,
uint32_t dnd_actions,
uint32_t preferred_action )
overrideprotected

Definition at line 83 of file dataoffer.cpp.

Member Data Documentation

◆ preferredDnDAction

std::optional<DataDeviceManagerInterface::DnDAction> KWin::DataOfferInterfacePrivate::preferredDnDAction = std::nullopt

Definition at line 29 of file dataoffer.cpp.

◆ q

DataOfferInterface* KWin::DataOfferInterfacePrivate::q

Definition at line 25 of file dataoffer.cpp.

◆ source

QPointer<AbstractDataSource> KWin::DataOfferInterfacePrivate::source

Definition at line 26 of file dataoffer.cpp.

◆ supportedDnDActions

std::optional<DataDeviceManagerInterface::DnDActions> KWin::DataOfferInterfacePrivate::supportedDnDActions = std::nullopt

Definition at line 28 of file dataoffer.cpp.


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