summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2009-10-28 14:15:06 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-11-03 09:09:23 (GMT)
commit553d7f7416eca57b63992a453ceb3b333749c11a (patch)
treea5d14e33909afff17c193d9b2fb022e35eafb881 /src/gui/graphicsview/qgraphicsscene_p.h
parente7a10b00be3e4aa197900ecf424e6d44b07248ae (diff)
downloadQt-553d7f7416eca57b63992a453ceb3b333749c11a.zip
Qt-553d7f7416eca57b63992a453ceb3b333749c11a.tar.gz
Qt-553d7f7416eca57b63992a453ceb3b333749c11a.tar.bz2
Introduced QGraphicsItem::ItemSendsScenePositionChanges and
QGraphicsItem::ItemScenePositionHasChanged Merge-Request: 1945 Reviewed-By: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscene_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h
index cd20fd0..6d46db5 100644
--- a/src/gui/graphicsview/qgraphicsscene_p.h
+++ b/src/gui/graphicsview/qgraphicsscene_p.h
@@ -122,6 +122,13 @@ public:
void _q_processDirtyItems();
+ QSet<QGraphicsItem *> scenePosItems;
+ bool scenePosDescendantsUpdatePending;
+ void setScenePosItemEnabled(QGraphicsItem *item, bool enabled);
+ void registerScenePosItem(QGraphicsItem *item);
+ void unregisterScenePosItem(QGraphicsItem *item);
+ void _q_updateScenePosDescendants();
+
void removeItemHelper(QGraphicsItem *item);
QBrush backgroundBrush;