Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
RemoteDeckList_TreeModel::DirectoryNode Class Reference

#include <remote_decklist_tree_widget.h>

Inheritance diagram for RemoteDeckList_TreeModel::DirectoryNode:
[legend]
Collaboration diagram for RemoteDeckList_TreeModel::DirectoryNode:
[legend]

Public Member Functions

 DirectoryNode (const QString &_name=QString(), DirectoryNode *_parent=nullptr)
 ~DirectoryNode () override
void clearTree ()
QString getPath () const
DirectoryNodegetNodeByPath (QStringList path)
FileNodegetNodeById (int id) const
Public Member Functions inherited from RemoteDeckList_TreeModel::Node
 Node (const QString &_name, DirectoryNode *_parent=nullptr)
virtual ~Node ()=default
DirectoryNodegetParent () const
QString getName () const

Additional Inherited Members

Protected Attributes inherited from RemoteDeckList_TreeModel::Node
DirectoryNodeparent
QString name

Constructor & Destructor Documentation

◆ DirectoryNode()

RemoteDeckList_TreeModel::DirectoryNode::DirectoryNode ( const QString & _name = QString(),
RemoteDeckList_TreeModel::DirectoryNode * _parent = nullptr )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~DirectoryNode()

RemoteDeckList_TreeModel::DirectoryNode::~DirectoryNode ( )
override
Here is the call graph for this function:

Member Function Documentation

◆ clearTree()

void RemoteDeckList_TreeModel::DirectoryNode::clearTree ( )

◆ getNodeById()

RemoteDeckList_TreeModel::FileNode * RemoteDeckList_TreeModel::DirectoryNode::getNodeById ( int id) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNodeByPath()

RemoteDeckList_TreeModel::DirectoryNode * RemoteDeckList_TreeModel::DirectoryNode::getNodeByPath ( QStringList path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPath()

QString RemoteDeckList_TreeModel::DirectoryNode::getPath ( ) const
nodiscard

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