mkRPG
Public Member Functions
GameTreeItem< type > Class Template Reference

The GameTreeItem define a convienent tree item for the ParamTreeItemModel and FlagTreeItemModel classes. More...

#include <attrtreeitemmodel.h>

Public Member Functions

 GameTreeItem (GameObject &obj)
 GameTreeItem (InheritableObject &typ)
Qt::ItemFlags flags (int col, bool readOnly=false) const
QVariant data (int col, int role) const
GameTreeItemparent () const
GameTreeItemchild (int row) const
int rowCount () const
int row () const
bool setData (int col, QVariant value, int role)
void addAttr (const QString &attr)
void sort ()
void setAttributeRowNb (int r)
bool isAttr (const QString &a) const

Detailed Description

template<ItemType type>
class GameTreeItem< type >

The GameTreeItem define a convienent tree item for the ParamTreeItemModel and FlagTreeItemModel classes.

It ensures items to have a parent, and provides abstract item (not related to object, parameter or flag).

See also:
ParamTreeItemModel, FlagTreeItemModel

The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines