liblancelot
ActionListModel.cpp
Go to the documentation of this file.
71 void ActionListModel::setDropActions(int index, Qt::DropActions & actions, Qt::DropAction & defaultAction)
virtual bool hasContextActions(int index) const
Definition: ActionListModel.cpp:90
virtual bool isCategory(int index) const
Definition: ActionListModel.cpp:78
virtual void dataDropped(int where, const QMimeData *mimeData)
Invoked when the data is dropped into the model.
Definition: ActionListModel.cpp:59
virtual void activate(int index)
Models should reimplement this function.
Definition: ActionListModel.cpp:108
virtual QString selfShortTitle() const
Definition: ActionListModel.cpp:118
virtual void setDropActions(int index, Qt::DropActions &actions, Qt::DropAction &defaultAction)
Definition: ActionListModel.cpp:71
void itemActivated(int index)
This signal is emitted when an item is activated.
virtual bool dataDropAvailable(int where, const QMimeData *mimeData)
Definition: ActionListModel.cpp:52
virtual QMimeData * selfMimeData() const
Definition: ActionListModel.cpp:128
virtual QIcon icon(int index) const
Definition: ActionListModel.cpp:40
virtual QIcon selfIcon() const
Definition: ActionListModel.cpp:123
virtual QString selfTitle() const
Definition: ActionListModel.cpp:113
virtual void dataDragFinished(int index, Qt::DropAction action)
This function is invoked when a data is dropped.
Definition: ActionListModel.cpp:65
virtual void setContextActions(int index, Lancelot::PopupMenu *menu)
Adds actions ofr the specifies item to menu.
Definition: ActionListModel.cpp:96
virtual QString description(int index) const
Definition: ActionListModel.cpp:34
virtual QMimeData * mimeData(int index) const
Definition: ActionListModel.cpp:46
typedef DropActions
virtual void contextActivate(int index, QAction *context)
Method for handling context menu actions.
Definition: ActionListModel.cpp:102
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.