summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/exampleslistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qtsupport/exampleslistmodel.h')
-rw-r--r--src/plugins/qtsupport/exampleslistmodel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.h b/src/plugins/qtsupport/exampleslistmodel.h
index 2c9fad97b7..8c8db4aa91 100644
--- a/src/plugins/qtsupport/exampleslistmodel.h
+++ b/src/plugins/qtsupport/exampleslistmodel.h
@@ -42,12 +42,12 @@ namespace QtSupport {
namespace Internal {
enum ExampleRoles { Name=Qt::UserRole, ProjectPath, Description, ImageUrl,
- DocUrl, FilesToOpen, Tags, Difficulty, HasSourceCode, Type };
+ DocUrl, FilesToOpen, Tags, Difficulty, HasSourceCode, Type, IsVideo, VideoUrl, VideoLength };
enum InstructionalType { Example=0, Demo, Tutorial };
struct ExampleItem {
- ExampleItem(): difficulty(0) {}
+ ExampleItem(): difficulty(0), isVideo(false) {}
InstructionalType type;
QString name;
QString projectPath;
@@ -58,6 +58,9 @@ struct ExampleItem {
QStringList tags;
int difficulty;
bool hasSourceCode;
+ bool isVideo;
+ QString videoUrl;
+ QString videoLength;
};
struct QMakePathCache {