X-Git-Url: http://git.maemo.org/git/?p=groove;a=blobdiff_plain;f=bottombar.h;h=0108b2f0d54482fbf7316b882e69b2380c417672;hp=69c145fa0c3489efb83ddb4dcc2ffbe03ce77d71;hb=eda4383dc1a3011c4c70801cb7ca1692b613141f;hpb=59ffc920954b530fd1b867f5edf9d5d910510636 diff --git a/bottombar.h b/bottombar.h index 69c145f..0108b2f 100644 --- a/bottombar.h +++ b/bottombar.h @@ -2,6 +2,9 @@ #define BOTTOMBAR_H #include +#include +#include +#include namespace Ui { class bottomBar; @@ -14,15 +17,25 @@ class bottomBar : public QWidget public: explicit bottomBar(QWidget *parent = 0); ~bottomBar(); +public slots: + void setPlaybackProgress(qint64 min,qint64 max); signals: void addB(); + void nextB(); + void pause(); + void back(); protected: void changeEvent(QEvent *e); private slots: void on_addButton_clicked(); + void on_nextB_clicked(); + void on_pauseB_clicked(); + void on_backB_clicked(); private: Ui::bottomBar *ui; + QGraphicsRectItem *playbackProgress; + QGraphicsScene *main; }; #endif // BOTTOMBAR_H