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

Method globalColorSource

kdevplatform/shell/completionsettings.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76CompletionSettings::GlobalColorSource CompletionSettings::globalColorSource() const
77{
78 const auto metaEnum = QMetaEnum::fromType<GlobalColorSource>();
79 const auto globalColorSource = m_languageGroup.readEntry("globalColorSource", QByteArray());
80 bool ok = false;
81 auto value = metaEnum.keyToValue(globalColorSource.constData(), &ok);
82 return ok ? static_cast<GlobalColorSource>(value) : m_globalColorSource;
83}
84
85int CompletionSettings::localColorizationLevel() const
86{

Callers 1

Calls 2

readEntryMethod · 0.80
QByteArrayClass · 0.50

Tested by

no test coverage detected