1 #ifndef YTSTANDARDFEED_H
2 #define YTSTANDARDFEED_H
5 #include "videosource.h"
7 class YTStandardFeed : public VideoSource {
12 YTStandardFeed(QObject *parent = 0);
14 QString getFeedId() { return feedId; }
15 void setFeedId(QString feedId) { this->feedId = feedId; }
17 QString getRegionId() { return regionId; }
18 void setRegionId(QString regionId) { this->regionId = regionId; }
20 QString getCategory() { return category; }
21 void setCategory(QString category) { this->category = category; }
23 QString getLabel() { return label; }
24 void setLabel(QString label) { this->label = label; }
26 void loadVideos(int max, int skip);
28 const QStringList & getSuggestions();
29 QString getName() { return label; }
32 void parse(QByteArray data);
33 void requestError(QNetworkReply *reply);
43 #endif // YTSTANDARDFEED_H