12#include <QAbstractItemModel>
35 template<
typename Model>
38 Qt::DropActions Drags_;
39 Qt::DropActions Drops_;
49 template<
typename...
Args>
Abstracts away differences between Qt4 and Qt5 in model DnD support.
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)
Container< T > Filter(const Container< T > &c, F f)