summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/snippets/integrating
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2010-04-27 00:39:42 (GMT)
committerPeter Yard <peter.yard@nokia.com>2010-04-27 00:39:42 (GMT)
commit88b2bf18c558d0e2f8a9268802f277212f17e61e (patch)
treed41ca52003037fba9b45605aa6d2ed86f73b940a /doc/src/declarative/snippets/integrating
parent4f3a7b5992b5aed67cced46d5d8c8c2f052dfb66 (diff)
parent09293f1d07b019dc7bfe95afb93364cc87774e82 (diff)
downloadQt-88b2bf18c558d0e2f8a9268802f277212f17e61e.zip
Qt-88b2bf18c558d0e2f8a9268802f277212f17e61e.tar.gz
Qt-88b2bf18c558d0e2f8a9268802f277212f17e61e.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'doc/src/declarative/snippets/integrating')
-rw-r--r--doc/src/declarative/snippets/integrating/graphicswidgets/bluecircle.h3
-rw-r--r--doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h3
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]