#define CATEGORIESVIEW_H
#include <QtGui>
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#endif
#include "view.h"
class VideoSource;
-class YTCategory;
+struct YTCategory;
class YTStandardFeed;
class StandardFeedsView : public QWidget, public View {
private:
void addVideoSourceWidget(VideoSource *videoSource);
QList<YTStandardFeed*> getMainFeeds();
- YTStandardFeed* buildStardardFeed(QString feedId, QString label, QString time = QString());
+ YTStandardFeed* buildStardardFeed(const QString &feedId, const QString &label, QString time = QString());
QGridLayout *layout;
};