Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
FilterTreeBranch< T > Class Template Reference

#include <filter_tree.h>

Inheritance diagram for FilterTreeBranch< T >:
[legend]
Collaboration diagram for FilterTreeBranch< T >:
[legend]

Public Member Functions

virtual ~FilterTreeBranch ()
void removeFiltersByAttr (CardFilter::Attr filterType)
FilterTreeNode * nodeAt (int i) const override
void deleteAt (int i) override
int childCount () const override
int childIndex (const FilterTreeNode *node) const override
Public Member Functions inherited from FilterTreeNode
 FilterTreeNode ()
virtual bool isEnabled () const
virtual void enable ()
virtual void disable ()
virtual FilterTreeNode * parent () const
virtual int index () const
virtual const QString text () const
virtual bool isLeaf () const
virtual void nodeChanged () const
virtual void preInsertChild (const FilterTreeNode *p, int i) const
virtual void postInsertChild (const FilterTreeNode *p, int i) const
virtual void preRemoveChild (const FilterTreeNode *p, int i) const
virtual void postRemoveChild (const FilterTreeNode *p, int i) const

Protected Attributes

QList< T > childNodes

Constructor & Destructor Documentation

◆ ~FilterTreeBranch()

template<class T>
FilterTreeBranch< T >::~FilterTreeBranch ( )
virtual

Member Function Documentation

◆ childCount()

template<class T>
int FilterTreeBranch< T >::childCount ( ) const
inlinenodiscardoverridevirtual

Reimplemented from FilterTreeNode.

Here is the caller graph for this function:

◆ childIndex()

template<class T>
int FilterTreeBranch< T >::childIndex ( const FilterTreeNode * node) const
overridevirtual

Reimplemented from FilterTreeNode.

Here is the call graph for this function:

◆ deleteAt()

template<class T>
void FilterTreeBranch< T >::deleteAt ( int i)
overridevirtual

Reimplemented from FilterTreeNode.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nodeAt()

template<class T>
FilterTreeNode * FilterTreeBranch< T >::nodeAt ( int i) const
nodiscardoverridevirtual

Reimplemented from FilterTreeNode.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeFiltersByAttr()

template<class T>
void FilterTreeBranch< T >::removeFiltersByAttr ( CardFilter::Attr filterType)
Here is the call graph for this function:

Member Data Documentation

◆ childNodes

template<class T>
QList<T> FilterTreeBranch< T >::childNodes
protected

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