From: Gunnar Sletta Date: Thu, 1 Aug 2013 06:34:20 +0000 (+0200) Subject: Remove comment that QQuickPaintedItem is only useful for porting. X-Git-Tag: upstream/5.2.1~677^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f58de6f8b35a823525aeb75337e0152bd9caeda0;p=platform%2Fupstream%2Fqtdeclarative.git Remove comment that QQuickPaintedItem is only useful for porting. Change-Id: I5d4a7917baa7c8f8dd7cfe3f49c6cf4fe5532ac0 Reviewed-by: Yoann Lopes --- 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