Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
FlatProxyModel::SourceItem Class Reference

#include </tmp/quassel/src/uisupport/flatproxymodel.h>

Collaboration diagram for FlatProxyModel::SourceItem:

Public Member Functions

 SourceItem (int row=0, SourceItem *parent=0)
 ~SourceItem ()
SourceItemparent () const
SourceItemchild (int i) const
int childCount () const
int pos () const
SourceItemnext () const
int sourceRow () const
SourceItemfindChild (int proxyPos) const

Private Member Functions

void removeChild (SourceItem *item)
void setPos (int i)
void setNext (SourceItem *next)

Private Attributes

QList< SourceItem * > _childs
int _pos


class FlatProxyModel

Detailed Description

Definition at line 96 of file flatproxymodel.h.

Constructor & Destructor Documentation

SourceItem ( int  row = 0,
SourceItem parent = 0 

Definition at line 685 of file flatproxymodel.cpp.

References _childs.

~SourceItem ( )

Definition at line 696 of file flatproxymodel.cpp.

Member Function Documentation

int sourceRow ( ) const
FlatProxyModel::SourceItem * findChild ( int  proxyPos) const

Definition at line 714 of file flatproxymodel.cpp.

Referenced by FlatProxyModel::index(), and FlatProxyModel::mapToSource().

void removeChild ( SourceItem item)

Definition at line 113 of file flatproxymodel.h.

References _childs.

Referenced by FlatProxyModel::removeSubTree().

Friends And Related Function Documentation

friend class FlatProxyModel

Definition at line 122 of file flatproxymodel.h.

Member Data Documentation

SourceItem* _parent

Definition at line 117 of file flatproxymodel.h.

Referenced by parent().

QList<SourceItem *> _childs
int _pos

Definition at line 119 of file flatproxymodel.h.

Referenced by pos(), and setPos().

SourceItem* _next

Definition at line 120 of file flatproxymodel.h.

Referenced by next(), and setNext().

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