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

Method verify

plugins/custom-buildsystem/custombuildsystemconfigwidget.cpp:183–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void CustomBuildSystemConfigWidget::verify() {
184 Q_ASSERT( ui->currentConfig->count() == configs.count() );
185
186
187 const bool hasAnyConfigurations = (configs.count() != 0);
188
189 Q_ASSERT( !hasAnyConfigurations || (ui->currentConfig->currentIndex() >= 0) );
190
191 ui->configWidget->setEnabled( hasAnyConfigurations );
192 ui->removeConfig->setEnabled( hasAnyConfigurations );
193 ui->currentConfig->setEditable( hasAnyConfigurations );
194}
195
196void CustomBuildSystemConfigWidget::renameCurrentConfig(const QString& name) {
197 int idx = ui->currentConfig->currentIndex();

Callers 1

crypto.jsFile · 0.45

Calls 4

countMethod · 0.45
currentIndexMethod · 0.45
setEnabledMethod · 0.45
setEditableMethod · 0.45

Tested by

no test coverage detected