diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-19 06:30:56 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-19 06:50:52 (GMT) |
commit | 9943a3ef522f293c26af0c65b0bc0a1df02a417d (patch) | |
tree | 74611818369e69141e13cdf385d75ad7cc90d85e /doc/src/declarative/snippets/integrating | |
parent | 2a9a22c7464b706c1e1998e10910b8f99528c6c4 (diff) | |
download | Qt-9943a3ef522f293c26af0c65b0bc0a1df02a417d.zip Qt-9943a3ef522f293c26af0c65b0bc0a1df02a417d.tar.gz Qt-9943a3ef522f293c26af0c65b0bc0a1df02a417d.tar.bz2 |
QML_DECLARE_TYPE is no longer necessary - fix docs and examples
Diffstat (limited to 'doc/src/declarative/snippets/integrating')
-rw-r--r-- | doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h | 3 | ||||
-rw-r--r-- | doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h b/doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h index 028718f..73d66b7 100644 --- a/doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h +++ b/doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h @@ -39,7 +39,6 @@ ** ****************************************************************************/ //![0] -#include <QtDeclarative/qdeclarative.h> #include <QGraphicsWidget> #include <QPainter> @@ -53,6 +52,4 @@ public: painter->drawEllipse(0, 0, size().width(), size().height()); } }; - -QML_DECLARE_TYPE(BlueCircle) //![0] diff --git a/doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h b/doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h index 76e7d11..3050662 100644 --- a/doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h +++ b/doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h @@ -39,7 +39,6 @@ ** ****************************************************************************/ //![0] -#include <QtDeclarative/qdeclarative.h> #include <QGraphicsWidget> #include <QPainter> @@ -52,6 +51,4 @@ public: painter->fillRect(0, 0, size().width(), size().height(), QColor(Qt::red)); } }; - -QML_DECLARE_TYPE(RedSquare) //![0] |