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

Method disconnectSubjob

kdevplatform/util/kdevcoreaddons/kcompoundjob.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15KCompoundJobPrivate::~KCompoundJobPrivate() = default;
16
17void KCompoundJobPrivate::disconnectSubjob(KJob *job)
18{
19 Q_Q(KCompoundJob);
20 job->setParent(nullptr);
21 QObject::disconnect(job, &KJob::finished, q, &KCompoundJob::subjobFinished);
22 QObject::disconnect(job, &KJob::infoMessage, q, &KCompoundJob::subjobInfoMessage);
23}
24
25KCompoundJob::KCompoundJob(QObject *parent)
26 : KCompoundJob(*new KCompoundJobPrivate, parent)

Callers 2

removeSubjobMethod · 0.45
clearSubjobsMethod · 0.45

Calls 1

setParentMethod · 0.45

Tested by

no test coverage detected