24 #ifndef DIGIKAM_ABSTRACT_ITEM_DRAG_DROP_HANDLER_H
25 #define DIGIKAM_ABSTRACT_ITEM_DRAG_DROP_HANDLER_H
29 #include <QAbstractItemModel>
35 class QAbstractItemView;
50 QAbstractItemModel* model()
const;
58 virtual bool dropEvent(QAbstractItemView* view,
const QDropEvent* e,
const QModelIndex& droppedOn);
64 virtual Qt::DropAction accepts(
const QDropEvent* e,
const QModelIndex& dropIndex);
70 virtual QStringList mimeTypes()
const;
84 virtual bool acceptsMimeData(
const QMimeData* data);
Definition: abstractitemdragdrophandler.h:42
QAbstractItemModel * m_model
Definition: abstractitemdragdrophandler.h:88
Definition: datefolderview.cpp:43
DropAction
Definition: itemdragdrop.cpp:60