| 18 | { |
| 19 | |
| 20 | ProjectConfigPage::ProjectConfigPage(KDevelop::IPlugin* plugin, KDevelop::IProject* project, QWidget* parent) |
| 21 | : ConfigPage(plugin, new ProjectSettings, parent) |
| 22 | , ui(new Ui::ProjectConfigPage) |
| 23 | , m_parameters(new Parameters(project)) |
| 24 | { |
| 25 | configSkeleton()->setSharedConfig(project->projectConfiguration()); |
| 26 | configSkeleton()->load(); |
| 27 | |
| 28 | ui->setupUi(this); |
| 29 | |
| 30 | ui->commandLine->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont)); |
| 31 | |
| 32 | connect(this, &ProjectConfigPage::changed, this, &ProjectConfigPage::updateCommandLine); |
| 33 | connect(ui->commandLineFilter, &QLineEdit::textChanged, this, &ProjectConfigPage::updateCommandLine); |
| 34 | connect(ui->commandLineBreaks, &QCheckBox::stateChanged, this, &ProjectConfigPage::updateCommandLine); |
| 35 | } |
| 36 | |
| 37 | ProjectConfigPage::~ProjectConfigPage() |
| 38 | { |
nothing calls this directly
no test coverage detected