MCPcopy Create free account
hub / github.com/KDE/kdevelop / operator<<

Function operator<<

kdevplatform/interfaces/isourceformatter.cpp:158–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158QDebug operator<<(QDebug dbg, const SourceFormatterStyle& style)
159{
160 QDebugStateSaver saver(dbg);
161 // For a given formatter, a style is uniquely identified by its name. But style names never appear in
162 // the UI, only in config files. Style captions feature prominently in the UI. However, multiple styles
163 // can have equal captions. Print both the name and the caption to allow quick and easy style
164 // recognition by caption and reliable identification by name.
165 dbg.nospace() << "SourceFormatterStyle{name=" << style.name() << ", caption=" << style.caption() << '}';
166 return dbg;
167}
168
169SourceFormatterStyle ISourceFormatter::predefinedStyle(const QString& name) const
170{

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
captionMethod · 0.45

Tested by

no test coverage detected