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

Method saveTo

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

Source from the content-addressed store, hash-verified

123}
124
125void CustomBuildSystemConfigWidget::saveTo(KConfig* cfg)
126{
127 KConfigGroup subgrp = cfg->group(ConfigConstants::customBuildSystemGroup());
128 subgrp.deleteGroup();
129 for( int i = 0; i < ui->currentConfig->count(); i++ ) {
130 configs[i].title = ui->currentConfig->itemText(i);
131 saveConfig( subgrp, configs[i], i );
132 }
133 cfg->sync();
134}
135
136void CustomBuildSystemConfigWidget::configChanged()
137{

Callers 2

applyMethod · 0.45
applyFunction · 0.45

Calls 3

customBuildSystemGroupFunction · 0.70
countMethod · 0.45
itemTextMethod · 0.45

Tested by 1

applyFunction · 0.36