summaryrefslogtreecommitdiffstats
path: root/src/declarative/widgets/graphicswidgets.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-12 05:38:52 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-12 05:38:52 (GMT)
commit7868a665eb6c14b41b514635d76fb2864ea14309 (patch)
treee9a1a5794fa46435fcf23a07abee9ed0662b7e9d /src/declarative/widgets/graphicswidgets.cpp
parent741e40dd0ffd60040c53e3c30c4bef42c0c84284 (diff)
downloadQt-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.cpp4
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)