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