]> git.sur5r.net Git - minitube/blobdiff - src/standardfeedsview.h
More const references everywhere
[minitube] / src / standardfeedsview.h
index 1d5214351fe9059ab3f267e047ca648490955582..066035c823cfde4a9e8a2f76e425392eaf4ec571 100644 (file)
@@ -22,10 +22,13 @@ $END_LICENSE */
 #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 {
@@ -54,7 +57,7 @@ private slots:
 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;
     
 };