MCPcopy Create free account
hub / github.com/KDE/kdevelop / nodeCleared

Method nodeCleared

kdevplatform/language/classmodel/classmodelnode.cpp:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void ClassNode::nodeCleared()
218{
219 if (!m_cachedUrl.isEmpty()) {
220 ClassModelNodesController::self().unregisterForChanges(m_cachedUrl, this);
221 m_cachedUrl = IndexedString();
222 }
223
224 m_subIdentifiers.clear();
225}
226
227void ClassModelNodes::ClassNode::documentChanged(const KDevelop::IndexedString&)
228{

Callers

nothing calls this directly

Calls 4

unregisterForChangesMethod · 0.80
IndexedStringClass · 0.50
isEmptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected