feat: Propogated subtask progress
Oh boy this is big. > TaskStepProgress struct is now QMetaObject compatabile and can be sent through signals > Task now has a method to propogates sub task progress it must be signal bound by each task containing a task wishing to report progress of it's children. > Downloads report speed > Tasks now have UUIDS to track them - use when reporting - use when logging - use when storeing them or objects related to them Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -80,7 +80,7 @@ slots:
|
||||
|
||||
void changeStatus(const QString &status);
|
||||
void changeProgress(qint64 current, qint64 total);
|
||||
void changeStepProgress(QList<TaskStepProgress> task_progress);
|
||||
void changeStepProgress(TaskStepProgressList task_progress);
|
||||
|
||||
|
||||
private
|
||||
@ -93,7 +93,7 @@ protected:
|
||||
|
||||
private:
|
||||
bool handleImmediateResult(QDialog::DialogCode &result);
|
||||
void addTaskProgress(TaskStepProgress progress);
|
||||
void addTaskProgress(TaskStepProgress* progress);
|
||||
|
||||
private:
|
||||
Ui::ProgressDialog *ui;
|
||||
|
Reference in New Issue
Block a user