Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::TreeModel::TreeItemNode Class Reference

#include <blokkaltreemodel.h>

List of all members.


Public Member Functions

 TreeItemNode (TreeItemNode *parent, void *data)
 ~TreeItemNode (void)

Public Attributes

Qt::CheckState checked
 the checked status of the node
QList< TreeItemNode * > children
 Child list.
QVariant data
 The data, contains the void pointer provided in the constructor.
TreeItemNode *const parent
 The parent.

Detailed Description

This class is used as an internal representation of the underlying data structure

Definition at line 42 of file blokkaltreemodel.h.


Constructor & Destructor Documentation

Blokkal::TreeModel::TreeItemNode::TreeItemNode ( TreeItemNode parent,
void *  data 
)

Creates a new TreeItemNode as a child of parent If parent != 0, this node will append itself to the children of parent. data parent parent node data data

Definition at line 25 of file blokkaltreemodel.cpp.

Blokkal::TreeModel::TreeItemNode::~TreeItemNode ( void   ) 

Destroys the BlogItemNode. All children will be deleted

Definition at line 34 of file blokkaltreemodel.cpp.


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