![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
#include "treeitem.h"
Public Member Functions | |
UTIL_MODELS_API | TreeItem (const QList< QVariant > &, TreeItem *parent=0) |
UTIL_MODELS_API | ~TreeItem () |
UTIL_MODELS_API void | AppendChild (TreeItem *) |
UTIL_MODELS_API void | PrependChild (TreeItem *) |
UTIL_MODELS_API void | InsertChild (int, TreeItem *) |
UTIL_MODELS_API int | ChildPosition (const TreeItem *) const |
UTIL_MODELS_API void | RemoveChild (int) |
UTIL_MODELS_API TreeItem * | Child (int) const |
UTIL_MODELS_API int | ChildCount () const |
UTIL_MODELS_API int | ColumnCount (int=Qt::DisplayRole) const |
UTIL_MODELS_API QVariant | Data (int, int=Qt::DisplayRole) const |
UTIL_MODELS_API void | ModifyData (int, const QVariant &, int=Qt::DisplayRole) |
UTIL_MODELS_API const TreeItem * | Parent () const |
UTIL_MODELS_API TreeItem * | Parent () |
UTIL_MODELS_API int | Row () const |
Definition at line 42 of file treeitem.h.
Definition at line 36 of file treeitem.cpp.
TreeItem::~TreeItem | ( | ) |
Definition at line 42 of file treeitem.cpp.
void TreeItem::AppendChild | ( | TreeItem * | child | ) |
Definition at line 47 of file treeitem.cpp.
TreeItem * TreeItem::Child | ( | int | row | ) | const |
Definition at line 72 of file treeitem.cpp.
int TreeItem::ChildCount | ( | ) | const |
Definition at line 77 of file treeitem.cpp.
Referenced by operator<<().
int TreeItem::ChildPosition | ( | const TreeItem * | child | ) | const |
Definition at line 62 of file treeitem.cpp.
int TreeItem::ColumnCount | ( | int | role = Qt::DisplayRole | ) | const |
Definition at line 82 of file treeitem.cpp.
Referenced by operator<<().
QVariant TreeItem::Data | ( | int | column, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 87 of file treeitem.cpp.
Referenced by operator<<().
void TreeItem::InsertChild | ( | int | index, |
TreeItem * | child | ||
) |
Definition at line 57 of file treeitem.cpp.
void TreeItem::ModifyData | ( | int | column, |
const QVariant & | data, | ||
int | role = Qt::DisplayRole |
||
) |
Definition at line 92 of file treeitem.cpp.
const TreeItem * TreeItem::Parent | ( | ) | const |
Definition at line 99 of file treeitem.cpp.
Referenced by operator<<().
TreeItem * TreeItem::Parent | ( | ) |
Definition at line 104 of file treeitem.cpp.
void TreeItem::PrependChild | ( | TreeItem * | child | ) |
Definition at line 52 of file treeitem.cpp.
void TreeItem::RemoveChild | ( | int | child | ) |
Definition at line 67 of file treeitem.cpp.
int TreeItem::Row | ( | ) | const |
Definition at line 109 of file treeitem.cpp.