KWidgetsAddons
kdragwidgetdecorator.h
QWidget * decoratedWidget() const
Definition kdragwidgetdecorator.cpp:68
KDragWidgetDecoratorBase(QWidget *parent=nullptr)
Default constructor.
Definition kdragwidgetdecorator.cpp:23
~KDragWidgetDecoratorBase() override
Destructs the decorator.
virtual void startDrag()
Starts a drag (Copy by default) using dragObject()
Definition kdragwidgetdecorator.cpp:78
void setDragEnabled(bool enable)
Enables/disables drag-support.
Definition kdragwidgetdecorator.cpp:38
virtual QDrag * dragObject()
Reimplement this and return the QDrag object that should be used for the drag.
Definition kdragwidgetdecorator.cpp:73
void setDragObjectFactory(DragObjectFactory factory)
Set a factory to be used by this decorator.
Definition kdragwidgetdecorator.h:120
DragObjectFactory dragObjectFactory() const
Definition kdragwidgetdecorator.h:110
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
virtual bool event(QEvent *e)
virtual bool eventFilter(QObject *watched, QEvent *event)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:52:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:52:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.