KWin
|
#include <dnd.h>
Public Types | |
using | DnDAction = DataDeviceManagerInterface::DnDAction |
using | DnDActions = DataDeviceManagerInterface::DnDActions |
Public Member Functions | |
Dnd (xcb_atom_t atom, QObject *parent) | |
XwlDropHandler * | dropHandler () const |
void | doHandleXfixesNotify (xcb_xfixes_selection_notify_event_t *event) override |
void | x11OfferLost () override |
void | x11OffersChanged (const QStringList &added, const QStringList &removed) override |
bool | handleClientMessage (xcb_client_message_event_t *event) override |
DragEventReply | dragMoveFilter (Window *target) |
![]() | |
bool | handleXfixesNotify (xcb_xfixes_selection_notify_event_t *event) |
bool | filterEvent (xcb_generic_event_t *event) |
xcb_atom_t | atom () const |
xcb_window_t | window () const |
void | overwriteRequestorWindow (xcb_window_t window) |
Static Public Member Functions | |
static uint32_t | version () |
static DnDAction | atomToClientAction (xcb_atom_t atom) |
static xcb_atom_t | clientActionToAtom (DnDAction action) |
![]() | |
static xcb_atom_t | mimeTypeToAtom (const QString &mimeType) |
static xcb_atom_t | mimeTypeToAtomLiteral (const QString &mimeType) |
static QStringList | atomToMimeTypes (xcb_atom_t atom) |
static QString | atomName (xcb_atom_t atom) |
static void | sendSelectionNotify (xcb_selection_request_event_t *event, bool success) |
Additional Inherited Members | |
![]() | |
void | transferFinished (xcb_timestamp_t eventTime) |
![]() | |
Selection (xcb_atom_t atom, QObject *parent) | |
void | registerXfixes () |
void | setWlSource (WlSource *source) |
WlSource * | wlSource () const |
void | createX11Source (xcb_xfixes_selection_notify_event_t *event) |
X11Source * | x11Source () const |
void | ownSelection (bool own) |
void | setWindow (xcb_window_t window) |
Represents the drag and drop mechanism, on X side this is the XDND protocol. For more information on XDND see: https://johnlindal.wixsite.com/xdnd
using KWin::Xwl::Dnd::DnDActions = DataDeviceManagerInterface::DnDActions |
|
explicit |
|
static |
|
static |
|
overridevirtual |
Implements KWin::Xwl::Selection.
DragEventReply KWin::Xwl::Dnd::dragMoveFilter | ( | Window * | target | ) |
XwlDropHandler * KWin::Xwl::Dnd::dropHandler | ( | ) | const |
|
overridevirtual |
Reimplemented from KWin::Xwl::Selection.
|
overridevirtual |
Implements KWin::Xwl::Selection.
|
overridevirtual |
Implements KWin::Xwl::Selection.