liblancelot
StandardActionListModel.cpp
Go to the documentation of this file.
92 void StandardActionListModel::add(const QString & title, const QString & description, QIcon icon, const QVariant & data)
105 void StandardActionListModel::insert(int where, const QString & title, const QString & description, QIcon icon, const QVariant & data)
119 void StandardActionListModel::set(int index, const QString & title, const QString & description, QIcon icon, const QVariant & data)
L_Override int size() const
Definition: StandardActionListModel.cpp:79
void setEmitInhibited(bool value)
Sets whether emit signals should be inhibited.
Definition: StandardActionListModel.cpp:41
const Item & itemAt(int index) const
Definition: StandardActionListModel.cpp:140
void insert(int where, const Item &item)
Adds a new item into the model.
Definition: StandardActionListModel.cpp:97
void updated()
This signal is emitted when the model is updated and the update is too complex to explain using itemI...
L_Override bool isCategory(int index) const
Definition: StandardActionListModel.cpp:73
L_Override QString title(int index) const
Definition: StandardActionListModel.cpp:51
This class represents an item in the list model.
Definition: StandardActionListModel.h:41
StandardActionListModel()
Creates a new instance of StandardActionListModel.
Definition: StandardActionListModel.cpp:30
void set(int index, const Item &item)
Replaces existing item at specified index with a new one.
Definition: StandardActionListModel.cpp:110
virtual ~StandardActionListModel()
Destroys this StandardActionListModel.
Definition: StandardActionListModel.cpp:36
bool emitInhibited() const
Definition: StandardActionListModel.cpp:46
void add(const Item &item)
Adds a new item into the model.
Definition: StandardActionListModel.cpp:84
L_Override QString description(int index) const
Definition: StandardActionListModel.cpp:61
L_Override QIcon icon(int index) const
Definition: StandardActionListModel.cpp:67
void itemDeleted(int index)
This signal is emitted when an item is deleted from the model.
void itemAltered(int index)
This signal is emitted when an item is altered.
void itemInserted(int index)
This signal is emitted when an item is inserted into the model.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.