Add portrait support, download progress
[groove] / groove.h
1 #ifndef GROOVE_H
2 #define GROOVE_H
3 #include <QtGui>
4 #include "gscom.h"
5 #include "splayer.h"
6 #include <QMenuBar>
7
8 class groove : public QWidget
9 {
10     Q_OBJECT;
11 public:
12     explicit groove(QWidget *parent = 0);
13
14 signals:
15
16 public slots:
17     void search();
18     void finishedS();
19     void changeS( QAction * action);
20     void play();
21     void startP();
22     void stop();
23     void moreB();
24
25 private:
26     sPlayer *player;
27     QMenuBar *mBar;
28     QPushButton *sMethod;
29     QStandardItemModel *model;
30     QLineEdit *lineEdit;
31     QTableView *resultView;
32     QPushButton *button;
33     gscom *gs;
34
35 };
36
37 #endif // GROOVE_H