| 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 | { |
no test coverage detected