X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=bottombar.h;h=af5eb128a5292af2928610d814754c06de320780;hb=fcfc7fb7a17e44c725a484f8d8e043afd8e808bd;hp=69c145fa0c3489efb83ddb4dcc2ffbe03ce77d71;hpb=59ffc920954b530fd1b867f5edf9d5d910510636;p=groove diff --git a/bottombar.h b/bottombar.h index 69c145f..af5eb12 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,26 @@ 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