12#include <QAbstractItemModel>
34 template<
typename Model>
37 Qt::DropActions Drags_;
38 Qt::DropActions Drops_;
48 template<
typename... Args>
50 :
Model { std::forward<Args> (args)... }
Qt::DropActions supportedDropActions() const override
DndActionsMixin(Args &&... args)
Constructs the model passing the arguments to the base constructor.
void setSupportedDragActions(Qt::DropActions acts)
Qt::DropActions supportedDragActions() const override
void setSupportedDropActions(Qt::DropActions acts)
@ Model
The human-readable name of the device model (QString).