liblancelot
ActionTreeModelProxy.cpp
Go to the documentation of this file.
void itemInserted(int index)
L_Override QString description(int index) const
Definition: ActionTreeModelProxy.cpp:99
void itemDeleted(int index)
~ActionTreeModelProxy()
Definition: ActionTreeModelProxy.cpp:51
L_Override QString title(int index) const
Definition: ActionTreeModelProxy.cpp:79
L_Override void setContextActions(int index, Lancelot::PopupMenu *menu)
Adds actions ofr the specifies item to menu.
Definition: ActionTreeModelProxy.cpp:89
void itemActivated(int index)
L_Override void dataDropped(int where, const QMimeData *mimeData)
Invoked when the data is dropped into the model.
Definition: ActionTreeModelProxy.cpp:140
ActionListModel * model() const
Definition: ActionTreeModelProxy.cpp:56
void itemAltered(int index)
L_Override void dataDragFinished(int index, Qt::DropAction action)
This function is invoked when a data is dropped.
Definition: ActionTreeModelProxy.cpp:145
L_Override QMimeData * mimeData(int index) const
Definition: ActionTreeModelProxy.cpp:124
L_Override bool hasContextActions(int index) const
Definition: ActionTreeModelProxy.cpp:84
L_Override ActionTreeModel * child(int index)
Definition: ActionTreeModelProxy.cpp:62
L_Override QString selfTitle() const
Definition: ActionTreeModelProxy.cpp:68
L_Override bool dataDropAvailable(int where, const QMimeData *mimeData)
Definition: ActionTreeModelProxy.cpp:135
Definition: ActionTreeModel.h:30
L_Override void setDropActions(int index, Qt::DropActions &actions, Qt::DropAction &defaultAction)
Definition: ActionTreeModelProxy.cpp:129
L_Override void contextActivate(int index, QAction *context)
Method for handling context menu actions.
Definition: ActionTreeModelProxy.cpp:94
typedef DropActions
L_Override int size() const
Definition: ActionTreeModelProxy.cpp:114
L_Override bool isCategory(int index) const
Definition: ActionTreeModelProxy.cpp:109
L_Override void activate(int index)
Models should reimplement this function.
Definition: ActionTreeModelProxy.cpp:119
L_Override QIcon icon(int index) const
Definition: ActionTreeModelProxy.cpp:104
void updated()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
ActionTreeModelProxy(ActionListModel *model, QString title=QString(), QIcon icon=QIcon())
Definition: ActionTreeModelProxy.cpp:32
L_Override QIcon selfIcon() const
Definition: ActionTreeModelProxy.cpp:73
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:12 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:39:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.