Playlist support (basic) and download progress dialogs
[groove] / groove.h
1 #ifndef GROOVE_H
2 #define GROOVE_H
3 #include <QtGui>
4 #include "gscom.h"
5 #include "splayer.h"
6 #include "qmaemo5rotator.h"
7 #include <QMenuBar>
8 #include "playlist.h"
9 #include "grooveprogressbar.h"
10
11 class groove : public QWidget
12 {
13     Q_OBJECT;
14 public:
15     explicit groove(QWidget *parent = 0);
16
17 signals:
18
19 public slots:
20     void search();
21     void finishedS();
22     void changeS( QAction * action);
23     void play();
24     void stop();
25     void moreB();
26     void orientationChanged();
27 private slots:
28     void progressUpdate(int,qint64,qint64);
29     void addSongPlaylist();
30 private:
31     sPlayer *player;
32     QMenuBar *mBar;
33     QPushButton *sMethod;
34     QStandardItemModel *model;
35     QLineEdit *lineEdit;
36     QTableView *resultView;
37     QPushButton *button;
38     bool portrait;
39     gscom *gs;
40     QMaemo5Rotator *rot;
41     playlist *pl;
42     grooveProgressBar *pd;
43
44 };
45
46 #endif // GROOVE_H