This commit is contained in:
iTrooz
2024-11-28 17:50:40 +01:00
parent 6f9be258dc
commit d124e2e0cb

View File

@ -146,15 +146,14 @@ class Task : public QObject, public QRunnable {
void details(QString details);
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);
public slots:
// QRunnable's interface
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();
//! used by external code to ask the task to aborta
virtual bool abort()