summaryrefslogtreecommitdiffstats
path: root/progressdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'progressdialog.h')
-rw-r--r--progressdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/progressdialog.h b/progressdialog.h
index 86a31bc..01657c8 100644
--- a/progressdialog.h
+++ b/progressdialog.h
@@ -15,6 +15,8 @@ class ProgressDialog : public QDialog {
public slots:
void setValue(int val);
+ void setTotal(int total) { mTotal = total; }
+ void setCopied(int copied) { mCopied = copied; }
signals:
void cancelled();
@@ -24,6 +26,8 @@ class ProgressDialog : public QDialog {
QLabel *mDst;
QLabel *mSum;
QProgressBar *mProgress;
+ int mTotal;
+ int mCopied;
};