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

Method findStyle

kdevplatform/shell/sourceformatterselectionedit.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 SourceFormatterStyle* findStyle(QStringView styleName)
95 {
96 const auto it = m_styles.find(styleName);
97 return it == m_styles.end() ? nullptr : &it->second;
98 }
99
100 template<typename StyleUser>
101 void forEachStyle(StyleUser callback)

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected