KWin
|
Represents the Resource for the wl_data_offer interface. More...
#include <dataoffer.h>
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::DnDAction > | preferredDragAndDropAction () const |
void | dndAction (DataDeviceManagerInterface::DnDAction action) |
Friends | |
class | DataDeviceInterfacePrivate |
Represents the Resource for the wl_data_offer interface.
Definition at line 27 of file dataoffer.h.
|
virtualdefault |
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.
|
signal |
Emitted whenever the supported or preferred Drag and Drop actions changed.
std::optional< DataDeviceManagerInterface::DnDAction > KWin::DataOfferInterface::preferredDragAndDropAction | ( | ) | const |
Definition at line 185 of file dataoffer.cpp.
wl_resource * KWin::DataOfferInterface::resource | ( | ) | const |
Definition at line 175 of file dataoffer.cpp.
void KWin::DataOfferInterface::sendAllOffers | ( | ) |
Definition at line 168 of file dataoffer.cpp.
void KWin::DataOfferInterface::sendSourceActions | ( | ) |
Definition at line 129 of file dataoffer.cpp.
std::optional< DataDeviceManagerInterface::DnDActions > KWin::DataOfferInterface::supportedDragAndDropActions | ( | ) | const |
Definition at line 180 of file dataoffer.cpp.
|
friend |
Definition at line 60 of file dataoffer.h.