This commit is contained in:
iTrooz 2024-11-28 17:50:40 +01:00
parent 6f9be258dc
commit d124e2e0cb
No known key found for this signature in database
GPG key ID: 8B83F77667B1BC6A

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()