Blokkal::Ui::CategoryModel Class Reference
#include <categoryview.h>
Inheritance diagram for Blokkal::Ui::CategoryModel:
Public Types | |
enum | CustomRoles { SortRole = Qt::UserRole + 1 } |
Public Member Functions | |
CategoryModel (Blokkal::Blog *blog, QObject *parent=0) | |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
Detailed Description
short Model for categoriesModel for categories
Definition at line 88 of file categoryview.h.
Member Enumeration Documentation
Enumeration for custom roles to be used with data()
Definition at line 100 of file categoryview.h.
Constructor & Destructor Documentation
Blokkal::Ui::CategoryModel::CategoryModel | ( | Blokkal::Blog * | blog, | |
QObject * | parent = 0 | |||
) |
Constructor
Definition at line 41 of file categoryview.cpp.
Member Function Documentation
QVariant Blokkal::Ui::CategoryModel::data | ( | const QModelIndex & | index, | |
int | role = Qt::DisplayRole | |||
) | const [virtual] |
Returns the data for index
Reimplemented from Blokkal::TreeModel.
Definition at line 128 of file categoryview.cpp.
The documentation for this class was generated from the following files: