aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser/streamwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/streambrowser/streamwindow.h')
-rw-r--r--src/plugins/General/streambrowser/streamwindow.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/plugins/General/streambrowser/streamwindow.h b/src/plugins/General/streambrowser/streamwindow.h
index 12c734e7b..35844702d 100644
--- a/src/plugins/General/streambrowser/streamwindow.h
+++ b/src/plugins/General/streambrowser/streamwindow.h
@@ -27,6 +27,7 @@ class QNetworkAccessManager;
class QNetworkReply;
class QStandardItemModel;
class QSortFilterProxyModel;
+class QMenu;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -44,16 +45,23 @@ private slots:
void on_updatePushButton_clicked();
void on_addPushButton_clicked();
void on_filterLineEdit_textChanged(const QString &text);
+ void execIceCastMenu(const QPoint &pos);
+ void execFavoritesMenu(const QPoint &pos);
+ void addToFavorites();
+ void removeFromFavorites();
private:
void closeEvent(QCloseEvent *);
- void readIceCast(QIODevice *input);
+ void readXml(QIODevice *input, QStandardItemModel *model);
+
Ui::StreamWindow ui;
QNetworkAccessManager *m_http;
QNetworkReply *m_requestReply;
QString m_artist, m_title;
- QStandardItemModel *m_iceCastModel;
- QSortFilterProxyModel *m_iceCastFilterModel;
+ QStandardItemModel *m_iceCastModel, *m_favoritesModel;
+ QSortFilterProxyModel *m_iceCastFilterModel, *m_favoritesFilterModel;
+ QMenu *m_iceCastMenu;
+ QMenu *m_favoritesMenu;
};
#endif