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

Method addBuildConfig

plugins/qmakebuilder/qmakebuilderpreferences.cpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void QMakeBuilderPreferences::addBuildConfig()
115{
116 qCDebug(KDEV_QMAKEBUILDER) << "Adding a new config.";
117 // for more simplicity, just launch regular dialog
118 auto dlg = new QMakeBuildDirChooserDialog(m_project);
119 if (dlg->exec() == QDialog::Accepted) {
120 m_prefsUi->buildDirCombo->setCurrentItem(dlg->buildDir(), true);
121 m_prefsUi->removeButton->setEnabled(m_prefsUi->buildDirCombo->count() > 1);
122 // TODO run qmake
123 }
124}
125
126void QMakeBuilderPreferences::removeBuildConfig()
127{

Callers

nothing calls this directly

Calls 4

execMethod · 0.80
buildDirMethod · 0.45
setEnabledMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected