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

Method ProjectConfigPage

plugins/cppcheck/config/projectconfigpage.cpp:20–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18{
19
20ProjectConfigPage::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
37ProjectConfigPage::~ProjectConfigPage()
38{

Callers

nothing calls this directly

Calls 3

setupUiMethod · 0.80
projectConfigurationMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected