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

Method initKConfigObject

kdevplatform/shell/project.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 KConfigGroup initKConfigObject()
291 {
292 // helper method for open()
293 qCDebug(SHELL) << "Creating KConfig object for project files" << developerTempFile << projectTempFile.fileName();
294 m_cfg = KSharedConfig::openConfig( developerTempFile );
295 m_cfg->addConfigSources( QStringList() << projectTempFile.fileName() );
296 KConfigGroup projectGroup(m_cfg, QStringLiteral("Project"));
297 return projectGroup;
298 }
299
300 bool projectNameUsed(const KConfigGroup& projectGroup)
301 {

Callers 1

openMethod · 0.80

Calls 2

QStringListClass · 0.85
fileNameMethod · 0.45

Tested by

no test coverage detected