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

Method slotKillJob

kdevplatform/shell/runcontroller.cpp:725–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725void KDevelop::RunController::slotKillJob()
726{
727 auto* action = qobject_cast<QAction*>(sender());
728 Q_ASSERT(action);
729
730 KJob* job = static_cast<KJob*>(qvariant_cast<void*>(action->data()));
731 if (job->capabilities() & KJob::Killable)
732 job->kill();
733}
734
735void KDevelop::RunController::finished(KJob * job)
736{

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected