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

Method perProjectConfigPages

plugins/sourceformatter/sourceformatterplugin.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26SourceFormatterPlugin::~SourceFormatterPlugin() = default;
27
28int SourceFormatterPlugin::perProjectConfigPages() const
29{
30 const auto hasFormatters = KDevelop::ICore::self()->sourceFormatterController()->hasFormatters();
31 return hasFormatters ? 1 : 0;
32}
33
34KDevelop::ConfigPage* SourceFormatterPlugin::perProjectConfigPage(int number, const KDevelop::ProjectConfigOptions& options, QWidget* parent)
35{

Callers

nothing calls this directly

Calls 2

hasFormattersMethod · 0.80

Tested by

no test coverage detected