24 #ifndef DIGIKAM_ALBUM_MODEL_DRAG_DROP_HANDLER_H
25 #define DIGIKAM_ALBUM_MODEL_DRAG_DROP_HANDLER_H
29 #include <QAbstractItemModel>
30 #include <QAbstractItemView>
36 class AbstractAlbumModel;
55 virtual bool dropEvent(QAbstractItemView* view,
const QDropEvent* e,
const QModelIndex& droppedOn);
Definition: abstractalbummodel.h:49
Definition: albummodeldragdrophandler.h:39
AbstractAlbumModel * model() const
Definition: albummodeldragdrophandler.cpp:47
AbstractAlbumModel * m_model
Definition: albummodeldragdrophandler.h:85
virtual QMimeData * createMimeData(const QList< Album * > &)
Definition: albummodeldragdrophandler.cpp:67
virtual Qt::DropAction accepts(const QDropEvent *e, const QModelIndex &dropIndex)
Definition: albummodeldragdrophandler.cpp:57
AlbumModelDragDropHandler(AbstractAlbumModel *model)
Definition: albummodeldragdrophandler.cpp:37
~AlbumModelDragDropHandler() override
Definition: albummodeldragdrophandler.cpp:43
virtual QStringList mimeTypes() const
Definition: albummodeldragdrophandler.cpp:62
virtual bool dropEvent(QAbstractItemView *view, const QDropEvent *e, const QModelIndex &droppedOn)
Definition: albummodeldragdrophandler.cpp:52
virtual bool acceptsMimeData(const QMimeData *data)
Definition: albummodeldragdrophandler.cpp:72
@ Album
Definition: coredbfields.h:58
Definition: datefolderview.cpp:43
DropAction
Definition: itemdragdrop.cpp:60