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

Method SourceFormatterJob

kdevplatform/shell/sourceformatterjob.cpp:28–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28SourceFormatterJob::SourceFormatterJob(SourceFormatterController* sourceFormatterController)
29 : KJob(sourceFormatterController)
30 , m_sourceFormatterController(sourceFormatterController)
31 , m_workState(WorkIdle)
32 , m_fileIndex(0)
33{
34 setCapabilities(Killable);
35 // set name for job listing
36 setObjectName(i18n("Reformatting"));
37
38 KDevelop::ICore::self()->uiController()->registerStatus(this);
39
40 connect(this, &SourceFormatterJob::finished, this, [this]() {
41 emit hideProgress(this);
42 });
43}
44
45QString SourceFormatterJob::statusName() const
46{

Callers

nothing calls this directly

Calls 2

uiControllerMethod · 0.80
registerStatusMethod · 0.45

Tested by

no test coverage detected