Update to reflect api changes and small patch for alternate audio
[groove] / groove.h
index 100bc6e..8779cce 100644 (file)
--- a/groove.h
+++ b/groove.h
@@ -3,7 +3,16 @@
 #include <QtGui>
 #include "gscom.h"
 #include "splayer.h"
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
+#include "qmaemo5rotator.h"
+#endif
 #include <QMenuBar>
+#include "playlist.h"
+#include "grooveprogressbar.h"
+#include "topbar.h"
+#include "vkb.h"
+#include "bottombar.h"
+#include "mpgplayer.h"
 
 class groove : public QWidget
 {
@@ -18,11 +27,17 @@ public slots:
     void finishedS();
     void changeS( QAction * action);
     void play();
-    void startP();
     void stop();
     void moreB();
-
+    void orientationChanged();
+    void performSearch(QString);
+private slots:
+    void progressUpdate(int,qint64,qint64);
+    void addSongPlaylist();
+    void showOthers();
 private:
+    mpgplayer *mpg;
+    bottomBar *bBar;
     sPlayer *player;
     QMenuBar *mBar;
     QPushButton *sMethod;
@@ -30,7 +45,12 @@ private:
     QLineEdit *lineEdit;
     QTableView *resultView;
     QPushButton *button;
+    bool portrait;
     gscom *gs;
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
+    QMaemo5Rotator *rot;
+#endif
+    playlist *pl;
 
 };