summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h')
-rw-r--r--doc/src/declarative/snippets/integrating/graphicswidgets/redsquare.h3
1 files changed, 0 insertions, 3 deletions
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]