kdevplatform/language/classmodel
classmodelnode.h
ClassMemberNode(KDevelop::ClassMemberDeclaration *a_decl, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:299
void populateNode() override
Called by the framework when the node is about to be expanded it should be populated with sub-nodes i...
Definition: classmodelnode.cpp:134
BaseClassesFolderNode(NodesModelInterface *a_model)
Definition: classmodelnode.cpp:357
const KDevelop::IndexedQualifiedIdentifier & identifier() const
Returns the qualified identifier for this node by going through the tree.
Definition: classmodelnode.h:170
IdentifierNode(KDevelop::Declaration *a_decl, NodesModelInterface *a_model, const QString &a_displayName=QString())
Definition: classmodelnode.cpp:42
bool getIcon(QIcon &a_resultIcon) override
fill a_resultIcon with a display icon for the node.
Definition: classmodelnode.cpp:304
virtual bool hasChildren() const
Return true if the node contains sub-nodes.
Definition: classmodelnode.h:95
void expand() override
Called by the model to expand the node and populate it with sub-nodes if needed.
Definition: classmodelnode.cpp:518
bool hasChildren() const override
Return true if the node contains sub-nodes.
Definition: classmodelnode.h:222
virtual void collapse()
Called by the model to collapse the node and remove sub-items if needed.
Definition: classmodelnode.h:56
virtual void populateNode()
Called by the framework when the node is about to be expanded it should be populated with sub-nodes i...
Definition: classmodelnode.h:144
DerivedClassesFolderNode(NodesModelInterface *a_model)
Definition: classmodelnode.cpp:388
const QList< Node * > & children() const
Returns a list of child nodes.
Definition: classmodelnode.h:84
Provides a folder node with a dynamic list of nodes.
Definition: classmodelnode.h:297
bool isPopulated() const
Return true if the node was populated already.
Definition: classmodelnode.h:131
FunctionNode(KDevelop::Declaration *a_decl, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:277
bool hasChildren() const override
Return true if the node contains sub-nodes.
Definition: classmodelnode.cpp:564
Base class for nodes associated with a KDevelop::QualifiedIdentifier.
Definition: classmodelnode.h:161
DynamicNode(const QString &a_displayName, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:507
Base class for nodes that generate and populate their child nodes dynamically.
Definition: classmodelnode.h:124
bool empty() const
Provides a folder node with a static list of nodes.
Definition: classmodelnode.h:282
bool getIcon(QIcon &a_resultIcon) override
fill a_resultIcon with a display icon for the node.
Definition: classmodelnode.cpp:82
virtual KDevelop::Declaration * declaration()
Return the associated declaration.
Definition: classmodelnode.cpp:52
bool getIcon(QIcon &a_resultIcon) override
fill a_resultIcon with a display icon for the node.
Definition: classmodelnode.cpp:348
DynamicFolderNode(const QString &a_displayName, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:329
Special folder - the parent is assumed to be a ClassNode.
Definition: classmodelnode.h:313
void collapse() override
Called by the model to collapse the node and remove sub-items if needed.
Definition: classmodelnode.cpp:513
QString sortableString() const override
We use this string when sorting items.
Definition: classmodelnode.h:257
virtual void expand()
Called by the model to expand the node and populate it with sub-nodes if needed.
Definition: classmodelnode.h:59
void populateNode() override
Called by the framework when the node is about to be expanded it should be populated with sub-nodes i...
Definition: classmodelnode.cpp:362
void populateNode() override
Called by the framework when the node is about to be expanded it should be populated with sub-nodes i...
Definition: classmodelnode.cpp:104
Provides a display for a single class function.
Definition: classmodelnode.h:249
void removeNode(Node *a_child)
Remove child node from the list and delete it.
Definition: classmodelnode.cpp:444
ClassNode(KDevelop::Declaration *a_decl, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:121
EnumNode(KDevelop::Declaration *a_decl, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:74
Node(const QString &a_displayName, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:411
void documentChanged(const KDevelop::IndexedString &a_file) override
Called when the registered document is changed.
Definition: classmodelnode.cpp:247
Provides display for a single class variable.
Definition: classmodelnode.h:267
Definition: allclassesfolder.h:31
Definition: allclassesfolder.h:27
virtual QString sortableString() const
We use this string when sorting items.
Definition: classmodelnode.h:98
FolderNode(const QString &a_displayName, NodesModelInterface *a_model)
Definition: classmodelnode.cpp:343
void recursiveSort()
Called once the node has been populated to sort the entire tree / branch.
Definition: classmodelnode.cpp:476
void performPopulateNode(bool a_forceRepopulate=false)
Populate the node and mark the flag - called from expand or can be used internally.
Definition: classmodelnode.cpp:546
virtual bool getIcon(QIcon &a_resultIcon)=0
fill a_resultIcon with a display icon for the node.
ClassNode * findSubClass(const KDevelop::IndexedQualifiedIdentifier &a_id)
Lookup a contained class and return the related node.
Definition: classmodelnode.cpp:255
bool getIcon(QIcon &a_resultIcon) override
fill a_resultIcon with a display icon for the node.
Definition: classmodelnode.cpp:334
Special folder - the parent is assumed to be a ClassNode.
Definition: classmodelnode.h:328
void populateNode() override
Called by the framework when the node is about to be expanded it should be populated with sub-nodes i...
Definition: classmodelnode.cpp:393
bool getIcon(QIcon &a_resultIcon) override
fill a_resultIcon with a display icon for the node.
Definition: classmodelnode.cpp:60
void nodeCleared() override
Called after the nodes have been removed.
Definition: classmodelnode.cpp:237
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 14 2021 23:34:45 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 14 2021 23:34:45 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.