From f58de6f8b35a823525aeb75337e0152bd9caeda0 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 1 Aug 2013 08:34:20 +0200 Subject: [PATCH] Remove comment that QQuickPaintedItem is only useful for porting. Change-Id: I5d4a7917baa7c8f8dd7cfe3f49c6cf4fe5532ac0 Reviewed-by: Yoann Lopes --- src/quick/items/qquickpainteditem.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/quick/items/qquickpainteditem.cpp b/src/quick/items/qquickpainteditem.cpp index 15abb75..25a2b93 100644 --- a/src/quick/items/qquickpainteditem.cpp +++ b/src/quick/items/qquickpainteditem.cpp @@ -67,9 +67,6 @@ QT_BEGIN_NAMESPACE To enable QPainter to do anti-aliased rendering, use setAntialiasing(). - QQuickPaintedItem is meant to make it easier to port old code that is using the - QPainter API to the QML Scene Graph API and it should be used only for that purpose. - To write your own painted item, you first create a subclass of QQuickPaintedItem, and then start by implementing its only pure virtual public function: paint(), which implements the actual painting. To get the size of the area painted by the item, use -- 2.7.4