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

Method cachedIcon

kdevplatform/language/classmodel/classmodelnode.cpp:473–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473QIcon ClassModelNodes::Node::cachedIcon()
474{
475 // Load the cached icon if it's null.
476 if (m_cachedIcon.isNull()) {
477 if (!getIcon(m_cachedIcon))
478 m_cachedIcon = QIcon();
479 }
480
481 return m_cachedIcon;
482}
483
484//////////////////////////////////////////////////////////////////////////////
485//////////////////////////////////////////////////////////////////////////////

Callers 1

dataMethod · 0.80

Calls 2

isNullMethod · 0.80
QIconClass · 0.50

Tested by

no test coverage detected