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

Method currentProfile

kdevplatform/util/environmentselectionwidget.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53EnvironmentSelectionWidget::~EnvironmentSelectionWidget() = default;
54
55QString EnvironmentSelectionWidget::currentProfile() const
56{
57 Q_D(const EnvironmentSelectionWidget);
58
59 return d->model->index(d->comboBox->currentIndex(), 0).data(Qt::EditRole).toString();
60}
61
62void EnvironmentSelectionWidget::setCurrentProfile(const QString& profile)
63{

Callers 4

saveToConfigurationMethod · 0.80
saveToConfigurationMethod · 0.80
saveToConfigurationMethod · 0.80
applyMethod · 0.80

Calls 4

toStringMethod · 0.45
dataMethod · 0.45
indexMethod · 0.45
currentIndexMethod · 0.45

Tested by

no test coverage detected