summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-15 08:05:12 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-01-06 09:34:30 (GMT)
commit3062035b9b38457196869b93650929f95cbd709f (patch)
tree60c5cd418a2ccb5945406b0c5b00dfa2ae8e727c /src/gui/graphicsview/qgraphicsscene.cpp
parentb167c8b31c6da7b3eb5083396c447c679f1a591a (diff)
downloadQt-3062035b9b38457196869b93650929f95cbd709f.zip
Qt-3062035b9b38457196869b93650929f95cbd709f.tar.gz
Qt-3062035b9b38457196869b93650929f95cbd709f.tar.bz2
Document the QGraphicsView::IndirectPainting flag
And that the QGraphics{View,Scene}::drawItems function are now obsolete. Reviewed-by: Alexis
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index 182a3f5..bc9d87a 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -5089,6 +5089,10 @@ void QGraphicsScenePrivate::processDirtyItemsRecursive(QGraphicsItem *item, bool
\snippet doc/src/snippets/graphicssceneadditemsnippet.cpp 0
+ \obsolete Since Qt 4.6, this function is not called anymore unless
+ the QGraphicsView::IndirectPainting flag is given as an Optimization
+ flag.
+
\sa drawBackground(), drawForeground()
*/
void QGraphicsScene::drawItems(QPainter *painter,