Add a stop button
[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
24 private:
25     sPlayer *player;
26     QMenuBar *mBar;
27     QPushButton *sMethod;
28     QStandardItemModel *model;
29     QLineEdit *lineEdit;
30     QTableView *resultView;
31     QPushButton *button;
32     gscom *gs;
33
34 };
35
36 #endif // GROOVE_H