KUiServerV2JobTracker Class

The interface to implement to track the progresses of a job. More...

Header: #include <KUiServerV2JobTracker>
CMake: find_package(KF6 REQUIRED COMPONENTS JobWidgets)
target_link_libraries(mytarget PRIVATE KF6::JobWidgets)
Since: 5.81
Inherits: KJobTrackerInterface

Public Functions

KUiServerV2JobTracker(QObject *parent = nullptr)

Reimplemented Public Functions

virtual void registerJob(KJob *job) override
virtual void unregisterJob(KJob *job) override

Detailed Description

Member Function Documentation

[explicit] KUiServerV2JobTracker::KUiServerV2JobTracker(QObject *parent = nullptr)

Creates a new KJobTrackerInterface

parent the parent object

[override virtual] void KUiServerV2JobTracker::registerJob(KJob *job)

Reimplements: KJobTrackerInterface::registerJob(KJob *job).

Register a new job in this tracker.

job the job to register

[override virtual] void KUiServerV2JobTracker::unregisterJob(KJob *job)

Reimplements: KJobTrackerInterface::unregisterJob(KJob *job).

Unregister a job from this tracker.

job the job to unregister