LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LeechCraft::Util::TreeItem Class Reference

#include "treeitem.h"

Public Member Functions

UTIL_API TreeItem (const QList< QVariant > &, TreeItem *parent=0)
 
UTIL_API ~TreeItem ()
 
UTIL_API void AppendChild (TreeItem *)
 
UTIL_API void PrependChild (TreeItem *)
 
UTIL_API void InsertChild (int, TreeItem *)
 
UTIL_API int ChildPosition (const TreeItem *) const
 
UTIL_API void RemoveChild (int)
 
UTIL_API TreeItemChild (int) const
 
UTIL_API int ChildCount () const
 
UTIL_API int ColumnCount (int=Qt::DisplayRole) const
 
UTIL_API QVariant Data (int, int=Qt::DisplayRole) const
 
UTIL_API void ModifyData (int, const QVariant &, int=Qt::DisplayRole)
 
UTIL_API const TreeItemParent () const
 
UTIL_API TreeItemParent ()
 
UTIL_API int Row () const
 

Detailed Description

Definition at line 42 of file treeitem.h.

Constructor & Destructor Documentation

TreeItem::TreeItem ( const QList< QVariant > &  data,
TreeItem parent = 0 
)

Definition at line 36 of file treeitem.cpp.

TreeItem::~TreeItem ( )

Definition at line 42 of file treeitem.cpp.

Member Function Documentation

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<<().

+ Here is the caller graph for this function:

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<<().

+ Here is the caller graph for this function:

QVariant TreeItem::Data ( int  column,
int  role = Qt::DisplayRole 
) const

Definition at line 87 of file treeitem.cpp.

Referenced by operator<<().

+ Here is the caller graph for this function:

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<<().

+ Here is the caller graph for this function:

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.


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