| KWin
    | 
Represents the Resource for the wl_data_source interface. More...
#include <datasource.h>
 
  
| Public Member Functions | |
| virtual | ~DataSourceInterface () | 
| void | accept (const QString &mimeType) override | 
| void | requestData (const QString &mimeType, qint32 fd) override | 
| void | cancel () override | 
| QStringList | mimeTypes () const override | 
| DataDeviceManagerInterface::DnDActions | supportedDragAndDropActions () const override | 
| DataDeviceManagerInterface::DnDAction | selectedDndAction () const override | 
| void | dropPerformed () override | 
| void | dndFinished () override | 
| void | dndAction (DataDeviceManagerInterface::DnDAction action) override | 
| void | dndCancelled () override | 
| bool | isDndCancelled () const | 
| bool | isDropPerformed () const | 
| wl_resource * | resource () const | 
| wl_client * | client () const override | 
| bool | isAccepted () const override | 
| void | setAccepted (bool accepted) | 
| XdgToplevelDragV1Interface * | xdgToplevelDrag () const | 
| Static Public Member Functions | |
| static DataSourceInterface * | get (wl_resource *native) | 
| Friends | |
| class | DataDeviceManagerInterfacePrivate | 
| class | DataSourceInterfacePrivate | 
| Additional Inherited Members | |
|  Signals inherited from KWin::AbstractDataSource | |
| void | aboutToBeDestroyed () | 
| void | mimeTypeOffered (const QString &) | 
| void | supportedDragAndDropActionsChanged () | 
|  Protected Member Functions inherited from KWin::AbstractDataSource | |
| AbstractDataSource (QObject *parent=nullptr) | |
Represents the Resource for the wl_data_source interface.
Definition at line 22 of file datasource.h.
| 
 | virtualdefault | 
| 
 | overridevirtual | 
Reimplemented from KWin::AbstractDataSource.
Definition at line 90 of file datasource.cpp.
| 
 | overridevirtual | 
Implements KWin::AbstractDataSource.
Definition at line 102 of file datasource.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::AbstractDataSource.
Definition at line 190 of file datasource.cpp.
| 
 | overridevirtual | 
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. 
Reimplemented from KWin::AbstractDataSource.
Definition at line 152 of file datasource.cpp.
| 
 | overridevirtual | 
Called when a user stops clicking but it is not accepted by a client.
Reimplemented from KWin::AbstractDataSource.
Definition at line 170 of file datasource.cpp.
| 
 | overridevirtual | 
The drop destination finished interoperating with this data source.
Reimplemented from KWin::AbstractDataSource.
Definition at line 139 of file datasource.cpp.
| 
 | overridevirtual | 
The user performed the drop action during a drag and drop operation.
Reimplemented from KWin::AbstractDataSource.
Definition at line 130 of file datasource.cpp.
| 
 | static | 
Definition at line 112 of file datasource.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::AbstractDataSource.
Definition at line 195 of file datasource.cpp.
| bool KWin::DataSourceInterface::isDndCancelled | ( | ) | const | 
Definition at line 180 of file datasource.cpp.
| bool KWin::DataSourceInterface::isDropPerformed | ( | ) | const | 
Definition at line 147 of file datasource.cpp.
| 
 | overridevirtual | 
Implements KWin::AbstractDataSource.
Definition at line 107 of file datasource.cpp.
| 
 | overridevirtual | 
Implements KWin::AbstractDataSource.
Definition at line 96 of file datasource.cpp.
| wl_resource * KWin::DataSourceInterface::resource | ( | ) | const | 
Definition at line 185 of file datasource.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::AbstractDataSource.
Definition at line 125 of file datasource.cpp.
| void KWin::DataSourceInterface::setAccepted | ( | bool | accepted | ) | 
Definition at line 200 of file datasource.cpp.
| 
 | overridevirtual | 
Reimplemented from KWin::AbstractDataSource.
Definition at line 120 of file datasource.cpp.
| XdgToplevelDragV1Interface * KWin::DataSourceInterface::xdgToplevelDrag | ( | ) | const | 
Definition at line 205 of file datasource.cpp.
| 
 | friend | 
Definition at line 59 of file datasource.h.
| 
 | friend | 
Definition at line 60 of file datasource.h.