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

Method ProjectConfigPage

plugins/sourceformatter/config/projectconfigpage.cpp:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25ProjectConfigPage::ProjectConfigPage(KDevelop::IPlugin* plugin, KDevelop::IProject* project, QWidget* parent)
26 : ConfigPage(plugin, new ProjectConfig, parent)
27 , ui(new Ui::ProjectConfigPage)
28{
29 configSkeleton()->setSharedConfig(project->projectConfiguration());
30 configSkeleton()->load();
31
32 ui->setupUi(this);
33
34 connect(ui->kcfg_useDefault, &QAbstractButton::toggled,
35 this, &ProjectConfigPage::disableCustomSettings);
36 connect(ui->formatterSelectionEdit, &KDevelop::SourceFormatterSelectionEdit::changed,
37 this, &ProjectConfigPage::changed);
38}
39
40ProjectConfigPage::~ProjectConfigPage() = default;
41

Callers

nothing calls this directly

Calls 3

setupUiMethod · 0.80
projectConfigurationMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected