Add a skeleton model for the playlist view
[soundwave.git] / playlist_view.h
blob74e7773d0ce88d66d07ef5e7f652f8af54373193
1 #ifndef SOUNDWAVE_PLAYLIST_H
2 #define SOUNDWAVE_PLAYLIST_H
4 #include <QDialog>
5 #include <QNetworkAccessManager>
6 #include <QStringListModel>
8 #include "player.h"
9 #include "ui_playlist.h"
11 class Playlist : public QDialog
13 Q_OBJECT
15 public slots:
16 void on_addItems_clicked();
17 void on_removeItems_clicked();
18 void on_startPlay_clicked();
19 void on_stopPlay_clicked();
21 void readNetwork( QNetworkReply * );
23 public:
24 Playlist();
25 ~Playlist();
27 protected:
28 void addM3U( const QString & data );
30 private:
31 QStringListModel *list;
33 QNetworkAccessManager *manager;
34 Ui::Playlist *ui;
36 Player *player;
40 #endif // SOUNDWAVE_PLAYLIST_H