kig
#include <typesdialog.h>

Public Member Functions | |
TypesModel (QObject *parent=0) | |
virtual | ~TypesModel () |
void | addMacros (const std::vector< Macro * > ¯os) |
void | clear () |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
void | elementChanged (const QModelIndex &index) |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
bool | isMacro (const QModelIndex &index) const |
Macro * | macroFromIndex (const QModelIndex &index) const |
void | removeElements (const QModelIndexList &elems) |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Detailed Description
A model for representing the data.
Definition at line 40 of file typesdialog.h.
Constructor & Destructor Documentation
TypesModel::TypesModel | ( | QObject * | parent = 0 | ) |
Definition at line 134 of file typesdialog.cpp.
|
virtual |
Definition at line 139 of file typesdialog.cpp.
Member Function Documentation
void TypesModel::addMacros | ( | const std::vector< Macro * > & | macros | ) |
Definition at line 143 of file typesdialog.cpp.
void TypesModel::clear | ( | ) |
Definition at line 200 of file typesdialog.cpp.
|
virtual |
Definition at line 239 of file typesdialog.cpp.
|
virtual |
Definition at line 244 of file typesdialog.cpp.
void TypesModel::elementChanged | ( | const QModelIndex & | index | ) |
Definition at line 208 of file typesdialog.cpp.
|
virtual |
Definition at line 300 of file typesdialog.cpp.
|
virtual |
Definition at line 321 of file typesdialog.cpp.
bool TypesModel::isMacro | ( | const QModelIndex & | index | ) | const |
Definition at line 219 of file typesdialog.cpp.
Macro * TypesModel::macroFromIndex | ( | const QModelIndex & | index | ) | const |
Definition at line 227 of file typesdialog.cpp.
void TypesModel::removeElements | ( | const QModelIndexList & | elems | ) |
Definition at line 159 of file typesdialog.cpp.
|
virtual |
Definition at line 329 of file typesdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.