![]() |
LeechCraft
0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
|
Abstracts away differences between Qt4 and Qt5 in model DnD support. More...
#include "dndactionsmixin.h"
Public Member Functions | |
template<typename... Args> | |
DndActionsMixin (Args &&...args) | |
Constructs the model passing the arguments to the base constructor. More... | |
Abstracts away differences between Qt4 and Qt5 in model DnD support.
Derive from this class (and parametrize the template by desired base class like QStandardItemModel or QAbstractItemModel) to obtain Qt4-style getter and setter functions for supported drag and drop actions (supportedDragActions(), setSupportedDragActions(), supportedDropActions(), setSupportedDropActions()).
Model | The source model type that you wish to derive from. |
Definition at line 59 of file dndactionsmixin.h.
|
inline |
Constructs the model passing the arguments to the base constructor.
[in] | args | The list of parameters to pass to the constructor of the base Model. |
Args | The variadic template parameter pack of arguments for the base Model constructor. |
Definition at line 75 of file dndactionsmixin.h.