diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-18 12:28:29 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-18 12:28:29 (GMT) |
commit | 0d839e3655d985920aff81882bd444605d97c21c (patch) | |
tree | 249092fc5bcb4d0c448474114efa60416679de5e /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h | |
parent | ac8bf5ec1f99d0e00e3ffefe53306c0d511376bf (diff) | |
download | Qt-0d839e3655d985920aff81882bd444605d97c21c.zip Qt-0d839e3655d985920aff81882bd444605d97c21c.tar.gz Qt-0d839e3655d985920aff81882bd444605d97c21c.tar.bz2 |
Changes after first round of code reviewing.
This change removes all code that handles ItemIgnoresTransformations
from QGraphicsView, and changes the APIs of the scene index intersectors.
Reviewed-by: Alexis
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h index b6f782d..ed12fac 100644 --- a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h +++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h @@ -82,6 +82,7 @@ public: QList<QGraphicsItem *> indexedItems; QList<QGraphicsItem *> unindexedItems; + QList<QGraphicsItem *> untransformableItems; QList<int> freeItemIndexes; bool purgePending; @@ -92,8 +93,8 @@ public: void startIndexTimer(int interval = QGRAPHICSSCENE_INDEXTIMER_TIMEOUT); void resetIndex(); - void addToIndex(QGraphicsItem *item); - void removeFromIndex(QGraphicsItem *item); + void addToBspTree(QGraphicsItem *item); + void removeFromBspTree(QGraphicsItem *item); void _q_updateSortCache(); bool sortCacheEnabled; |