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