Rabbit Remote Control 0.1.0-bate6
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
CFavoriteModel::tree Struct Reference
Collaboration diagram for CFavoriteModel::tree:
Collaboration graph
[legend]

Public Member Functions

 tree (CFavoriteDatabase::Item i)
 
int GetRow () const
 
void SetRow (int r)
 
bool IsFolder () const
 
bool IsFavorite () const
 
int ChildCount () const
 
treeChildAt (int index) const
 
int GetInserIndex (tree *child)
 
bool AddChild (tree *child)
 
bool InsertChild (int index, tree *child)
 
bool RemoveChild (tree *child)
 
treeFindChild (int id) const
 
treeFindRecursive (int id) const
 

Public Attributes

CFavoriteDatabase::Item item
 
treeparent = nullptr
 
QVector< tree * > children
 

Private Attributes

int m_row = 0
 

Detailed Description

Definition at line 59 of file FavoriteModel.h.

Constructor & Destructor Documentation

◆ tree() [1/2]

CFavoriteModel::tree::tree ( )

Definition at line 450 of file FavoriteModel.cpp.

◆ tree() [2/2]

CFavoriteModel::tree::tree ( CFavoriteDatabase::Item  i)

Definition at line 453 of file FavoriteModel.cpp.

◆ ~tree()

CFavoriteModel::tree::~tree ( )

Definition at line 457 of file FavoriteModel.cpp.

Member Function Documentation

◆ AddChild()

bool CFavoriteModel::tree::AddChild ( tree child)

Definition at line 510 of file FavoriteModel.cpp.

◆ ChildAt()

CFavoriteModel::tree * CFavoriteModel::tree::ChildAt ( int  index) const

Definition at line 486 of file FavoriteModel.cpp.

◆ ChildCount()

int CFavoriteModel::tree::ChildCount ( ) const

Definition at line 481 of file FavoriteModel.cpp.

◆ FindChild()

CFavoriteModel::tree * CFavoriteModel::tree::FindChild ( int  id) const

Definition at line 547 of file FavoriteModel.cpp.

◆ FindRecursive()

CFavoriteModel::tree * CFavoriteModel::tree::FindRecursive ( int  id) const

Definition at line 557 of file FavoriteModel.cpp.

◆ GetInserIndex()

int CFavoriteModel::tree::GetInserIndex ( tree child)

Definition at line 494 of file FavoriteModel.cpp.

◆ GetRow()

int CFavoriteModel::tree::GetRow ( ) const

Definition at line 461 of file FavoriteModel.cpp.

◆ InsertChild()

bool CFavoriteModel::tree::InsertChild ( int  index,
tree child 
)

Definition at line 517 of file FavoriteModel.cpp.

◆ IsFavorite()

bool CFavoriteModel::tree::IsFavorite ( ) const

Definition at line 476 of file FavoriteModel.cpp.

◆ IsFolder()

bool CFavoriteModel::tree::IsFolder ( ) const

Definition at line 471 of file FavoriteModel.cpp.

◆ RemoveChild()

bool CFavoriteModel::tree::RemoveChild ( tree child)

Definition at line 530 of file FavoriteModel.cpp.

◆ SetRow()

void CFavoriteModel::tree::SetRow ( int  r)

Definition at line 466 of file FavoriteModel.cpp.

Member Data Documentation

◆ children

QVector<tree*> CFavoriteModel::tree::children

Definition at line 62 of file FavoriteModel.h.

◆ item

CFavoriteDatabase::Item CFavoriteModel::tree::item

Definition at line 60 of file FavoriteModel.h.

◆ m_row

int CFavoriteModel::tree::m_row = 0
private

Definition at line 82 of file FavoriteModel.h.

◆ parent

tree* CFavoriteModel::tree::parent = nullptr

Definition at line 61 of file FavoriteModel.h.


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