summaryrefslogtreecommitdiffstats
path: root/progressdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'progressdialog.h')
-rw-r--r--progressdialog.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/progressdialog.h b/progressdialog.h
deleted file mode 100644
index 01657c8..0000000
--- a/progressdialog.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef PROGRESSDIALOG_H
-#define PROGRESSDIALOG_H
-
-#include <QDialog>
-#include <QLabel>
-#include <QProgressBar>
-
-class ProgressDialog : public QDialog {
- Q_OBJECT
- public:
- ProgressDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
- void setLabelText(const QString &src, const QString &dst);
- void setMaximum(int max) { mProgress->setMaximum(max); }
- void setSummary(const QString &sum) { mSum->setText(sum); }
-
- public slots:
- void setValue(int val);
- void setTotal(int total) { mTotal = total; }
- void setCopied(int copied) { mCopied = copied; }
-
- signals:
- void cancelled();
-
- private:
- QLabel *mSrc;
- QLabel *mDst;
- QLabel *mSum;
- QProgressBar *mProgress;
- int mTotal;
- int mCopied;
-
-};
-
-#endif // PROGRESSDIALOG_H