KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::DataSourceInterfacePrivate Class Reference

#include <datasource_p.h>

Inheritance diagram for KWin::DataSourceInterfacePrivate:

Public Member Functions

 DataSourceInterfacePrivate (DataSourceInterface *_q, ::wl_resource *resource)
 

Static Public Member Functions

static DataSourceInterfacePrivateget (DataSourceInterface *dataSource)
 

Public Attributes

DataSourceInterfaceq
 
QStringList mimeTypes
 
DataDeviceManagerInterface::DnDActions supportedDnDActions = DataDeviceManagerInterface::DnDAction::None
 
DataDeviceManagerInterface::DnDAction selectedDndAction = DataDeviceManagerInterface::DnDAction::None
 
bool isAccepted = false
 
bool dropPerformed = false
 
bool isCanceled = false
 
XdgToplevelDragV1InterfacexdgToplevelDrag = nullptr
 

Protected Member Functions

void data_source_destroy_resource (Resource *resource) override
 
void data_source_offer (Resource *resource, const QString &mime_type) override
 
void data_source_destroy (Resource *resource) override
 
void data_source_set_actions (Resource *resource, uint32_t dnd_actions) override
 

Detailed Description

Definition at line 19 of file datasource_p.h.

Constructor & Destructor Documentation

◆ DataSourceInterfacePrivate()

KWin::DataSourceInterfacePrivate::DataSourceInterfacePrivate ( DataSourceInterface * _q,
::wl_resource * resource )

Definition at line 21 of file datasource.cpp.

Member Function Documentation

◆ data_source_destroy()

void KWin::DataSourceInterfacePrivate::data_source_destroy ( Resource * resource)
overrideprotected

Definition at line 39 of file datasource.cpp.

◆ data_source_destroy_resource()

void KWin::DataSourceInterfacePrivate::data_source_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 27 of file datasource.cpp.

◆ data_source_offer()

void KWin::DataSourceInterfacePrivate::data_source_offer ( Resource * resource,
const QString & mime_type )
overrideprotected

Definition at line 33 of file datasource.cpp.

◆ data_source_set_actions()

void KWin::DataSourceInterfacePrivate::data_source_set_actions ( Resource * resource,
uint32_t dnd_actions )
overrideprotected

Definition at line 50 of file datasource.cpp.

◆ get()

DataSourceInterfacePrivate * KWin::DataSourceInterfacePrivate::get ( DataSourceInterface * dataSource)
static

Definition at line 75 of file datasource.cpp.

Member Data Documentation

◆ dropPerformed

bool KWin::DataSourceInterfacePrivate::dropPerformed = false

Definition at line 31 of file datasource_p.h.

◆ isAccepted

bool KWin::DataSourceInterfacePrivate::isAccepted = false

Definition at line 30 of file datasource_p.h.

◆ isCanceled

bool KWin::DataSourceInterfacePrivate::isCanceled = false

Definition at line 32 of file datasource_p.h.

◆ mimeTypes

QStringList KWin::DataSourceInterfacePrivate::mimeTypes

Definition at line 27 of file datasource_p.h.

◆ q

DataSourceInterface* KWin::DataSourceInterfacePrivate::q

Definition at line 26 of file datasource_p.h.

◆ selectedDndAction

DataDeviceManagerInterface::DnDAction KWin::DataSourceInterfacePrivate::selectedDndAction = DataDeviceManagerInterface::DnDAction::None

Definition at line 29 of file datasource_p.h.

◆ supportedDnDActions

DataDeviceManagerInterface::DnDActions KWin::DataSourceInterfacePrivate::supportedDnDActions = DataDeviceManagerInterface::DnDAction::None

Definition at line 28 of file datasource_p.h.

◆ xdgToplevelDrag

XdgToplevelDragV1Interface* KWin::DataSourceInterfacePrivate::xdgToplevelDrag = nullptr

Definition at line 33 of file datasource_p.h.


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