summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-18 12:28:29 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-18 12:28:29 (GMT)
commit0d839e3655d985920aff81882bd444605d97c21c (patch)
tree249092fc5bcb4d0c448474114efa60416679de5e /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
parentac8bf5ec1f99d0e00e3ffefe53306c0d511376bf (diff)
downloadQt-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.h5
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;