| 23 | |
| 24 | |
| 25 | ProjectConfigPage::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 | |
| 40 | ProjectConfigPage::~ProjectConfigPage() = default; |
| 41 |
nothing calls this directly
no test coverage detected