mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
chore: reformat
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
57d3d4815b
commit
5c8481a118
20 changed files with 134 additions and 119 deletions
|
|
@ -79,7 +79,6 @@ Q_DECLARE_METATYPE(TaskStepProgress)
|
|||
|
||||
using TaskStepProgressList = QList<std::shared_ptr<TaskStepProgress>>;
|
||||
|
||||
|
||||
/*!
|
||||
* Represents a task that has to be done.
|
||||
* To create a task, you need to subclass this class, implement the executeTask() method and call
|
||||
|
|
@ -177,9 +176,9 @@ class Task : public QObject, public QRunnable {
|
|||
virtual void executeTask() = 0;
|
||||
|
||||
protected slots:
|
||||
//! The Task subclass must call this method when the task has succeeded
|
||||
//! The Task subclass must call this method when the task has succeeded
|
||||
virtual void emitSucceeded();
|
||||
//! **The Task subclass** must call this method when the task has aborted. External code should call abort() instead.
|
||||
//! **The Task subclass** must call this method when the task has aborted. External code should call abort() instead.
|
||||
virtual void emitAborted();
|
||||
//! The Task subclass must call this method when the task has failed
|
||||
virtual void emitFailed(QString reason = "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue