Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::TreeModel Class Reference

Wraps the tree like structures for a view. More...

#include <blokkaltreemodel.h>

Inheritance diagram for Blokkal::TreeModel:

Blokkal::BlogModel Blokkal::Ui::CategoryModel Blokkal::BlogCategoryModel

List of all members.


Public Member Functions

virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual Qt::ItemFlags flags (const QModelIndex &index) const
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
virtual QModelIndex parent (const QModelIndex &child) const
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 TreeModel (Blokkal::TreeModel::TreeItemNode *root=0, QObject *parent=0)

Protected Member Functions

TreeItemNoderoot (void) const

Classes

class  TreeItemNode

Detailed Description

Wraps the tree like structures for a view.

Wraps the tree like structures for a view

Definition at line 34 of file blokkaltreemodel.h.


Constructor & Destructor Documentation

Blokkal::TreeModel::TreeModel ( Blokkal::TreeModel::TreeItemNode root = 0,
QObject *  parent = 0 
)

Constructor root root node parent parent object

Definition at line 51 of file blokkaltreemodel.cpp.


The documentation for this class was generated from the following files: