akonadi
20 #ifndef AKONADI_DRAGDROPMANAGER_P_H
21 #define AKONADI_DRAGDROPMANAGER_P_H
23 #include <QAbstractItemView>
25 #include "akonadi/collection.h"
33 explicit DragDropManager( QAbstractItemView *view );
38 bool dropAllowed( QDragMoveEvent *event )
const;
47 bool processDropEvent( QDropEvent *event,
bool &menuCanceled,
bool dropOnItem =
true );
55 void startDrag( Qt::DropActions supportedActions );
60 void setShowDropActionMenu(
bool show );
65 bool showDropActionMenu()
const;
67 bool isManualSortingActive()
const;
72 void setManualSortingActive(
bool active);
75 Collection currentDropTarget( QDropEvent* event )
const;
77 bool hasAncestor(
const QModelIndex& index,
Collection::Id parentId )
const;
78 bool mShowDropActionMenu;
79 bool mIsManualSortingActive;
80 QAbstractItemView *m_view;
qint64 Id
Describes the unique id type.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.