KJobWidgets
kabstractwidgetjobtracker.cpp
20KAbstractWidgetJobTracker::KAbstractWidgetJobTracker(KAbstractWidgetJobTrackerPrivate &dd, QWidget *parent)
The base class for widget based job trackers.
Definition kabstractwidgetjobtracker.h:28
bool autoDelete(KJob *job) const
Checks whether the dialog should be deleted or cleaned.
Definition kabstractwidgetjobtracker.cpp:59
virtual void slotStop(KJob *job)
This method should be called for correct cancellation of IO operation Connect this to the progress wi...
Definition kabstractwidgetjobtracker.cpp:71
~KAbstractWidgetJobTracker() override
Destroys a KAbstractWidgetJobTracker.
KAbstractWidgetJobTracker(QWidget *parent=nullptr)
Creates a new KAbstractWidgetJobTracker.
Definition kabstractwidgetjobtracker.cpp:15
virtual void slotClean(KJob *job)
This method is called when the widget should be cleaned (after job is finished).
Definition kabstractwidgetjobtracker.cpp:95
bool stopOnClose(KJob *job) const
Checks whether the job will be killed when the dialog is closed.
Definition kabstractwidgetjobtracker.cpp:45
virtual void slotSuspend(KJob *job)
This method should be called for pause/resume Connect this to the progress widgets buttons etc.
Definition kabstractwidgetjobtracker.cpp:79
void unregisterJob(KJob *job) override
Unregister a job from this tracker.
Definition kabstractwidgetjobtracker.cpp:33
void setAutoDelete(KJob *job, bool autoDelete)
This controls whether the dialog should be deleted or only cleaned when the KJob is finished (or canc...
Definition kabstractwidgetjobtracker.cpp:52
void stopped(KJob *job)
Emitted when the user aborted the operation.
void registerJob(KJob *job) override
Register a new job in this tracker.
Definition kabstractwidgetjobtracker.cpp:28
void setStopOnClose(KJob *job, bool stopOnClose)
This controls whether the job should be canceled if the dialog is closed.
Definition kabstractwidgetjobtracker.cpp:38
void finished(KJob *job) override
Called when a job is finished, in any case.
Definition kabstractwidgetjobtracker.cpp:66
virtual void slotResume(KJob *job)
This method should be called for pause/resume Connect this to the progress widgets buttons etc.
Definition kabstractwidgetjobtracker.cpp:87
virtual void registerJob(KJob *job)
virtual void unregisterJob(KJob *job)
bool resume()
bool suspend()
bool kill(KJob::KillVerbosity verbosity=KJob::Quietly)
void suspend()
Q_EMITQ_EMIT
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.