diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-06-07 15:12:53 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-06-07 15:12:53 +1000 |
commit | 21d0c6ef9a7df3e5fa69ff344e9dee2d2159c43c (patch) | |
tree | 8b9545958c1dde4e0963dd14d74faa3dab394486 /src/declarative/items/qsgitemsmodule.cpp | |
parent | 6e22ead1767d0ef9463b34bee071ca54647a547c (diff) |
Immense Particles Refactor Part A
Qt.labs.particles 2.0 moved to QtQuick.Particles 2.0. All C++ classes
changed names, some renaming of QML types.
Also adds CustomParticle.
Diffstat (limited to 'src/declarative/items/qsgitemsmodule.cpp')
-rw-r--r-- | src/declarative/items/qsgitemsmodule.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/items/qsgitemsmodule.cpp b/src/declarative/items/qsgitemsmodule.cpp index 6ea20bb38b..a29776fc68 100644 --- a/src/declarative/items/qsgitemsmodule.cpp +++ b/src/declarative/items/qsgitemsmodule.cpp @@ -75,6 +75,8 @@ //#include "private/qsgpincharea_p.h" #include "qsgcanvasitem_p.h" #include "qsgcontext2d_p.h" +#include "qsgsprite_p.h" +#include "qsgspriteimage_p.h" static QDeclarativePrivate::AutoParentResult qsgitem_autoParent(QObject *obj, QObject *parent) { @@ -179,6 +181,8 @@ static void qt_sgitems_defineModule(const char *uri, int major, int minor) qmlRegisterType<QSGContext2D>(); qmlRegisterType<QSGCanvasGradient>(); + qmlRegisterType<QSGSprite>("QtQuick", 2, 0, "Sprite"); + qmlRegisterType<QSGSpriteImage>("QtQuick", 2, 0, "SpriteImage"); qmlRegisterType<QSGParentChange>(uri, major, minor,"ParentChange"); qmlRegisterType<QSGAnchorChanges>(uri, major, minor,"AnchorChanges"); |