mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
cleanup
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user