summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-10-20 13:33:29 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-10-20 15:12:06 (GMT)
commita6b0316c2418a90cb754132a678c38027009e875 (patch)
tree152be5f5faae16fbc40a6ba513a7e33be9f374ee /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
parent70dacb37c85941d5c9fa9d4e37661378d91aa339 (diff)
downloadQt-a6b0316c2418a90cb754132a678c38027009e875.zip
Qt-a6b0316c2418a90cb754132a678c38027009e875.tar.gz
Qt-a6b0316c2418a90cb754132a678c38027009e875.tar.bz2
Moved private function to test which graphic items is in front of the other
This function is moved to graphicsitem private because it is needed by multi-touch event handling and is not specific to bsptreeindex. Reviewed-by: bnilsen
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
index 0a86bb7..c130190 100644
--- a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
+++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h
@@ -145,8 +145,6 @@ public:
QList<QGraphicsItem *> estimateItems(const QRectF &, Qt::SortOrder, bool b = false);
static void climbTree(QGraphicsItem *item, int *stackingOrder);
- static bool closestItemFirst_withoutCache(const QGraphicsItem *item1, const QGraphicsItem *item2);
- static bool closestItemLast_withoutCache(const QGraphicsItem *item1, const QGraphicsItem *item2);
static inline bool closestItemFirst_withCache(const QGraphicsItem *item1, const QGraphicsItem *item2)
{