summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mailstatusbar.h
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/mailstatusbar.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mailstatusbar.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/mailstatusbar.h b/noncore/unsupported/mail2/mailstatusbar.h
new file mode 100644
index 0000000..11cd538
--- a/dev/null
+++ b/noncore/unsupported/mail2/mailstatusbar.h
@@ -0,0 +1,38 @@
1#ifndef MAILSTATUSBAR_H
2#define MAILSTATUSBAR_H
3
4#include <qhbox.h>
5
6class QLabel;
7class QToolButton;
8class QProgressBar;
9
10class MailStatusBar : public QHBox
11{
12 Q_OBJECT
13
14public:
15 MailStatusBar(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
16
17public slots:
18 void setStatusText(const QString &text);
19 void setStopEnabled(bool enabled);
20 void setProgressTotalSteps(int steps);
21 void setProgress(int progress);
22 void resetProgress();
23
24signals:
25 void stop();
26
27protected slots:
28 void stopClicked();
29
30private:
31 QLabel *label;
32 QToolButton *stopButton;
33 QProgressBar *progress;
34
35};
36
37#endif
38