Fixed download bug
[groove] / groove.h
index 2761070..4abda41 100644 (file)
--- a/groove.h
+++ b/groove.h
@@ -3,7 +3,12 @@
 #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"
 
 class groove : public QWidget
 {
@@ -18,8 +23,12 @@ public slots:
     void finishedS();
     void changeS( QAction * action);
     void play();
-    void startP();
-
+    void stop();
+    void moreB();
+    void orientationChanged();
+private slots:
+    void progressUpdate(int,qint64,qint64);
+    void addSongPlaylist();
 private:
     sPlayer *player;
     QMenuBar *mBar;
@@ -28,7 +37,13 @@ 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;
+    grooveProgressBar *pd;
 
 };