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

Method setCurrentProfile

kdevplatform/util/environmentselectionwidget.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void EnvironmentSelectionWidget::setCurrentProfile(const QString& profile)
63{
64 Q_D(EnvironmentSelectionWidget);
65
66 d->comboBox->setCurrentIndex(d->comboBox->findData(profile, Qt::EditRole));
67 emit currentProfileChanged(profile);
68}
69
70void EnvironmentSelectionWidget::reconfigure()
71{

Callers 5

setToolMethod · 0.45
loadFromConfigurationMethod · 0.45
loadFromConfigurationMethod · 0.45
loadFromConfigurationMethod · 0.45
initAdvancedMethod · 0.45

Calls 1

setCurrentIndexMethod · 0.80

Tested by

no test coverage detected