KWin
Loading...
Searching...
No Matches
Signals | Public Member Functions | Friends | List of all members
KWin::DataOfferInterface Class Reference

Represents the Resource for the wl_data_offer interface. More...

#include <dataoffer.h>

Inheritance diagram for KWin::DataOfferInterface:

Signals

void dragAndDropActionsChanged ()
 

Public Member Functions

virtual ~DataOfferInterface ()
 
void sendAllOffers ()
 
void sendSourceActions ()
 
wl_resource * resource () const
 
std::optional< DataDeviceManagerInterface::DnDActions > supportedDragAndDropActions () const
 
std::optional< DataDeviceManagerInterface::DnDActionpreferredDragAndDropAction () const
 
void dndAction (DataDeviceManagerInterface::DnDAction action)
 

Friends

class DataDeviceInterfacePrivate
 

Detailed Description

Represents the Resource for the wl_data_offer interface.

Definition at line 27 of file dataoffer.h.

Constructor & Destructor Documentation

◆ ~DataOfferInterface()

KWin::DataOfferInterface::~DataOfferInterface ( )
virtualdefault

Member Function Documentation

◆ dndAction()

void KWin::DataOfferInterface::dndAction ( DataDeviceManagerInterface::DnDAction action)

This event indicates the action selected by the compositor after matching the source/destination side actions. Only one action (or none) will be offered here.

Definition at line 190 of file dataoffer.cpp.

◆ dragAndDropActionsChanged

void KWin::DataOfferInterface::dragAndDropActionsChanged ( )
signal

Emitted whenever the supported or preferred Drag and Drop actions changed.

◆ preferredDragAndDropAction()

std::optional< DataDeviceManagerInterface::DnDAction > KWin::DataOfferInterface::preferredDragAndDropAction ( ) const
Returns
The preferred Drag and Drop action of this DataOfferInterface.

Definition at line 185 of file dataoffer.cpp.

◆ resource()

wl_resource * KWin::DataOfferInterface::resource ( ) const

Definition at line 175 of file dataoffer.cpp.

◆ sendAllOffers()

void KWin::DataOfferInterface::sendAllOffers ( )

Definition at line 168 of file dataoffer.cpp.

◆ sendSourceActions()

void KWin::DataOfferInterface::sendSourceActions ( )

Definition at line 129 of file dataoffer.cpp.

◆ supportedDragAndDropActions()

std::optional< DataDeviceManagerInterface::DnDActions > KWin::DataOfferInterface::supportedDragAndDropActions ( ) const
Returns
The Drag and Drop actions supported by this DataOfferInterface.

Definition at line 180 of file dataoffer.cpp.

Friends And Related Symbol Documentation

◆ DataDeviceInterfacePrivate

friend class DataDeviceInterfacePrivate
friend

Definition at line 60 of file dataoffer.h.


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