KWin
|
#include <datadevice.h>
Signals | |
void | changed () |
Public Member Functions | |
~DragAndDropIcon () override | |
QPoint | position () const |
SurfaceInterface * | surface () const |
Static Public Member Functions | |
static SurfaceRole * | role () |
Friends | |
class | DataDeviceInterfacePrivate |
The DragAndDropIcon class represents a drag-and-drop icon.
Note that the lifetime of the drag-and-drop icon is bound to the lifetime of the underlying icon surface.
Definition at line 38 of file datadevice.h.
|
override |
Definition at line 43 of file datadevice.cpp.
|
signal |
QPoint KWin::DragAndDropIcon::position | ( | ) | const |
Returns the position of the icon relative to the cursor's hotspot.
Definition at line 59 of file datadevice.cpp.
|
static |
Definition at line 47 of file datadevice.cpp.
SurfaceInterface * KWin::DragAndDropIcon::surface | ( | ) | const |
Returns the underlying icon surface. This function always returns a valid surface.
Definition at line 64 of file datadevice.cpp.
|
friend |
Definition at line 64 of file datadevice.h.