Fix some buid issues on maemo, Also add some simple usability fixes
[groove] / grooveprogressbar.h
1 #ifndef GROOVEPROGRESSBAR_H
2 #define GROOVEPROGRESSBAR_H
3
4 #include <QDialog>
5 #include <QtGui>
6 #if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
7 #include "qmaemo5rotator.h"
8 #endif
9 class grooveProgressBar : public QDialog
10 {
11     Q_OBJECT
12 public:
13     explicit grooveProgressBar(QWidget *parent = 0);
14     void setMaximum(int maximum);
15     void setValue(int position);
16     int maximum();
17 #if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
18     QMaemo5Rotator *rot;
19 #endif
20
21 signals:
22
23 public slots:
24
25 private:
26     QProgressBar *bar;
27     QHBoxLayout  *lay;
28 };
29
30 #endif // GROOVEPROGRESSBAR_H