Update to reflect api changes and small patch for alternate audio
[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 #include "topbar.h"
13 #include "vkb.h"
14 #include "bottombar.h"
15 #include "mpgplayer.h"
16
17 class groove : public QWidget
18 {
19     Q_OBJECT;
20 public:
21     explicit groove(QWidget *parent = 0);
22
23 signals:
24
25 public slots:
26     void search();
27     void finishedS();
28     void changeS( QAction * action);
29     void play();
30     void stop();
31     void moreB();
32     void orientationChanged();
33     void performSearch(QString);
34 private slots:
35     void progressUpdate(int,qint64,qint64);
36     void addSongPlaylist();
37     void showOthers();
38 private:
39     mpgplayer *mpg;
40     bottomBar *bBar;
41     sPlayer *player;
42     QMenuBar *mBar;
43     QPushButton *sMethod;
44     QStandardItemModel *model;
45     QLineEdit *lineEdit;
46     QTableView *resultView;
47     QPushButton *button;
48     bool portrait;
49     gscom *gs;
50 #if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
51     QMaemo5Rotator *rot;
52 #endif
53     playlist *pl;
54
55 };
56
57 #endif // GROOVE_H