|
| AlbumDragDropHandler (AlbumModel *const model) |
|
Qt::DropAction | accepts (const QDropEvent *e, const QModelIndex &dropIndex) override |
| Returns if the given mime data is accepted for drop on dropIndex.
|
|
QMimeData * | createMimeData (const QList< Album * > &) override |
| Create a mime data object for starting a drag from the given Albums.
|
|
bool | dropEvent (QAbstractItemView *view, const QDropEvent *e, const QModelIndex &droppedOn) override |
| Gives the view and the occurring drop event.
|
|
QStringList | mimeTypes () const override |
| Returns the supported mime types.
|
|
AlbumModel * | model () const |
|
Public Member Functions inherited from Digikam::AlbumModelDragDropHandler |
| AlbumModelDragDropHandler (AbstractAlbumModel *model) |
|
virtual bool | acceptsMimeData (const QMimeData *data) |
| Returns if the given mime data can be handled.
|
|
AbstractAlbumModel * | model () const |
|