diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-12 05:38:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-12 05:38:52 (GMT) |
commit | 7868a665eb6c14b41b514635d76fb2864ea14309 (patch) | |
tree | e9a1a5794fa46435fcf23a07abee9ed0662b7e9d /src/declarative/widgets/graphicswidgets.cpp | |
parent | 741e40dd0ffd60040c53e3c30c4bef42c0c84284 (diff) | |
download | Qt-7868a665eb6c14b41b514635d76fb2864ea14309.zip Qt-7868a665eb6c14b41b514635d76fb2864ea14309.tar.gz Qt-7868a665eb6c14b41b514635d76fb2864ea14309.tar.bz2 |
Minor code cleanups.
Diffstat (limited to 'src/declarative/widgets/graphicswidgets.cpp')
-rw-r--r-- | src/declarative/widgets/graphicswidgets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/widgets/graphicswidgets.cpp b/src/declarative/widgets/graphicswidgets.cpp index 4c6dcf9..cfcc87b 100644 --- a/src/declarative/widgets/graphicswidgets.cpp +++ b/src/declarative/widgets/graphicswidgets.cpp @@ -59,7 +59,6 @@ public: static_cast<QGraphicsView *>(parent())->setScene(scene); } }; -QML_DEFINE_EXTENDED_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,QGraphicsView,QGraphicsView,QGraphicsViewDeclarativeUI) class QGraphicsSceneDeclarativeUI : public QObject { @@ -111,7 +110,6 @@ private: }; Children _children; }; -QML_DEFINE_EXTENDED_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,QGraphicsScene,QGraphicsScene,QGraphicsSceneDeclarativeUI) class QGraphicsWidgetDeclarativeUI : public QObject { @@ -164,6 +162,8 @@ private: QmlConcreteList<QObject *> _data; }; +QML_DEFINE_EXTENDED_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,QGraphicsView,QGraphicsView,QGraphicsViewDeclarativeUI) +QML_DEFINE_EXTENDED_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,QGraphicsScene,QGraphicsScene,QGraphicsSceneDeclarativeUI) QML_DEFINE_EXTENDED_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,QGraphicsWidget,QGraphicsWidget,QGraphicsWidgetDeclarativeUI) QML_DEFINE_INTERFACE(QGraphicsItem) |