summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-17 01:44:06 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-17 03:53:11 (GMT)
commit7a8ed0580665e0240fc3539f29300606cfe7ccbc (patch)
treee82be8a5022af9c5316182579eb5e0afd323beda
parentdb8d6fe56280ed8ef9f006daf4dc24382509c3e8 (diff)
downloadQt-7a8ed0580665e0240fc3539f29300606cfe7ccbc.zip
Qt-7a8ed0580665e0240fc3539f29300606cfe7ccbc.tar.gz
Qt-7a8ed0580665e0240fc3539f29300606cfe7ccbc.tar.bz2
Register QGraphicsWidget type.
Reviewed-by:TrustMe
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
index 2ac55a4..1a48cbd 100644
--- a/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
@@ -138,6 +138,7 @@ void QDeclarativeItemModule::defineModule()
qmlRegisterType<QDeclarativeKeyEvent>();
qmlRegisterType<QDeclarativeMouseEvent>();
qmlRegisterType<QGraphicsObject>();
+ qmlRegisterType<QGraphicsWidget>();
qmlRegisterType<QGraphicsTransform>();
qmlRegisterType<QDeclarativePathElement>();
qmlRegisterType<QDeclarativeCurve>();