cleanup
This commit is contained in:
parent
6f9be258dc
commit
d124e2e0cb
1 changed files with 2 additions and 3 deletions
|
@ -146,15 +146,14 @@ class Task : public QObject, public QRunnable {
|
||||||
void details(QString details);
|
void details(QString details);
|
||||||
void stepProgress(TaskStepProgress const& task_progress);
|
void stepProgress(TaskStepProgress const& task_progress);
|
||||||
|
|
||||||
/** Emitted when the canAbort() status has changed.
|
//! Emitted when the canAbort() status has changed. */
|
||||||
*/
|
|
||||||
void abortStatusChanged(bool can_abort);
|
void abortStatusChanged(bool can_abort);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
// QRunnable's interface
|
// QRunnable's interface
|
||||||
void run() override { start(); }
|
void run() override { start(); }
|
||||||
|
|
||||||
// used by the task caller to start the task
|
//! used by the task caller to start the task
|
||||||
virtual void start();
|
virtual void start();
|
||||||
//! used by external code to ask the task to aborta
|
//! used by external code to ask the task to aborta
|
||||||
virtual bool abort()
|
virtual bool abort()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue