#define CHANNELAGGREGATOR_H
#include <QtCore>
+#include <QtNetwork>
class YTChannel;
class Video;
void unwatchedCountChanged(int count);
private slots:
- void videosLoaded(const QList<Video*> &videos);
+ void videosLoaded(const QVector<Video*> &videos);
void processNextChannel();
+ void checkWebPage(YTChannel *channel);
+ void parseWebPage(const QByteArray &bytes);
+ void errorWebPage(const QString &message);
+ void reallyProcessChannel(YTChannel *channel);
private:
ChannelAggregator(QObject *parent = 0);
bool running;
int newVideoCount;
- QList<YTChannel*> updatedChannels;
+ QVector<YTChannel*> updatedChannels;
QTimer *timer;
bool stopped;
+
+ YTChannel *currentChannel;
};
#endif // CHANNELAGGREGATOR_H