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

Method apply

kdevplatform/interfaces/configpage.cpp:36–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void ConfigPage::apply()
37{
38 Q_D(ConfigPage);
39
40 // if d->configManager is null, this method must be overridden
41 Q_ASSERT_X(d->configManager, metaObject()->className(),
42 "Config page does not use a KConfigSkeleton, but doesn't override apply()");
43
44 QSignalBlocker blockSigs(this); // we don't want to emit changed() while calling apply()
45 d->configManager->updateSettings();
46 d->configSkeleton->load();
47 d->configManager->updateWidgets();
48}
49
50void ConfigPage::defaults()
51{

Callers

nothing calls this directly

Calls 4

updateSettingsMethod · 0.80
updateWidgetsMethod · 0.80
classNameMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected