From f8650e3965582a57c3d0ccb5f234e6229051b16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 26 Apr 2015 23:04:50 +0200 Subject: NOISSUE eliminate ProgressProvider --- application/dialogs/ProgressDialog.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'application/dialogs/ProgressDialog.h') diff --git a/application/dialogs/ProgressDialog.h b/application/dialogs/ProgressDialog.h index d5153680..fb80d0ce 100644 --- a/application/dialogs/ProgressDialog.h +++ b/application/dialogs/ProgressDialog.h @@ -17,7 +17,7 @@ #include -class ProgressProvider; +class Task; namespace Ui { @@ -34,11 +34,11 @@ public: void updateSize(); - int exec(ProgressProvider *task); + int exec(Task *task); void setSkipButton(bool present, QString label = QString()); - ProgressProvider *getTask(); + Task *getTask(); public slots: @@ -49,7 +49,7 @@ slots: void changeStatus(const QString &status); void changeProgress(qint64 current, qint64 total); - + private slots: void on_skipButton_clicked(bool checked); @@ -61,5 +61,5 @@ protected: private: Ui::ProgressDialog *ui; - ProgressProvider *task; + Task *task; }; -- cgit v1.2.3