aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/templates
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-23 20:00:17 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-25 08:53:40 +0000
commit96474dba254526b48e35ffa5b22950185dae43fb (patch)
tree00a3e8f07f2ad34fafa9728074a9d6fcb8a6f1d1 /src/imports/templates
parent794d4f210a5b875699e63e02e5ec0c1d4bad4096 (diff)
Add ItemDelegate
Change-Id: I133be230d0d4b2fd36565f8f05d91426c314a085 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/templates')
-rw-r--r--src/imports/templates/qtlabstemplatesplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/templates/qtlabstemplatesplugin.cpp b/src/imports/templates/qtlabstemplatesplugin.cpp
index 1f8d0949..6db254b9 100644
--- a/src/imports/templates/qtlabstemplatesplugin.cpp
+++ b/src/imports/templates/qtlabstemplatesplugin.cpp
@@ -47,6 +47,7 @@
#include <QtLabsTemplates/private/qquickdrawer_p.h>
#include <QtLabsTemplates/private/qquickframe_p.h>
#include <QtLabsTemplates/private/qquickgroupbox_p.h>
+#include <QtLabsTemplates/private/qquickitemdelegate_p.h>
#include <QtLabsTemplates/private/qquicklabel_p.h>
#include <QtLabsTemplates/private/qquickpageindicator_p.h>
#include <QtLabsTemplates/private/qquickpanel_p.h>
@@ -93,6 +94,7 @@ void QtLabsTemplatesPlugin::registerTypes(const char *uri)
qmlRegisterType<QQuickDrawer>(uri, 1, 0, "Drawer");
qmlRegisterType<QQuickFrame>(uri, 1, 0, "Frame");
qmlRegisterType<QQuickGroupBox>(uri, 1, 0, "GroupBox");
+ qmlRegisterType<QQuickItemDelegate>(uri, 1, 0, "ItemDelegate");
qmlRegisterType<QQuickLabel>(uri, 1, 0, "Label");
qmlRegisterType<QQuickPageIndicator>(uri, 1, 0, "PageIndicator");
qmlRegisterType<QQuickPanel>(uri, 1, 0, "Panel");