KWidgetsAddons
kdragwidgetdecorator.h
A decorator which adds drag-support to widgets.
Definition kdragwidgetdecorator.h:31
QWidget * decoratedWidget() const
Definition kdragwidgetdecorator.cpp:68
KDragWidgetDecoratorBase(QWidget *parent=nullptr)
Default constructor.
Definition kdragwidgetdecorator.cpp:23
~KDragWidgetDecoratorBase() override
Destructs the decorator.
virtual QDrag * dragObject()
Reimplement this and return the QDrag object that should be used for the drag.
Definition kdragwidgetdecorator.cpp:73
A decorator which adds drag-support to widgets.
Definition kdragwidgetdecorator.h:97
void setDragObjectFactory(DragObjectFactory factory)
Set a factory to be used by this decorator.
Definition kdragwidgetdecorator.h:120
DragObjectFactory dragObjectFactory() const
Definition kdragwidgetdecorator.h:110
Q_PROPERTY(...)
virtual bool eventFilter(QObject *watched, QEvent *event)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.