diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-06-11 15:05:32 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-06-11 15:05:32 (GMT) |
commit | 3d9d7d10c2c6a4aed4650572bc9f3c8bd5b899b5 (patch) | |
tree | 95188ccc85a8319ec16298359ce5c99437af9d80 /src/gui/graphicsview/qgraphicssceneindex_p.h | |
parent | c6f2229bcecbbea2d1f3df149d1a397cd26b43c7 (diff) | |
download | Qt-3d9d7d10c2c6a4aed4650572bc9f3c8bd5b899b5.zip Qt-3d9d7d10c2c6a4aed4650572bc9f3c8bd5b899b5.tar.gz Qt-3d9d7d10c2c6a4aed4650572bc9f3c8bd5b899b5.tar.bz2 |
Kill one items_helper + one childItem helper and use the new
recursive approach.
Diffstat (limited to 'src/gui/graphicsview/qgraphicssceneindex_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicssceneindex_p.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneindex_p.h b/src/gui/graphicsview/qgraphicssceneindex_p.h index 2014693..3a2cb27 100644 --- a/src/gui/graphicsview/qgraphicssceneindex_p.h +++ b/src/gui/graphicsview/qgraphicssceneindex_p.h @@ -70,16 +70,15 @@ class QGraphicsSceneIndexPrivate : public QObjectPrivate public: QGraphicsSceneIndexPrivate(QGraphicsScene *scene); + void recursive_items_helper(QGraphicsItem *item, QRectF rect, QList<QGraphicsItem *> *items, + const QTransform &parentTransform, const QTransform &viewTransform, + Qt::ItemSelectionMode mode, Qt::SortOrder order, qreal parentOpacity = 1.0) const; void childItems_helper(QList<QGraphicsItem *> *items, const QGraphicsItem *parent, const QPointF &pos) const; void childItems_helper(QList<QGraphicsItem *> *items, const QGraphicsItem *parent, - const QRectF &rect, - Qt::ItemSelectionMode mode) const; - void childItems_helper(QList<QGraphicsItem *> *items, - const QGraphicsItem *parent, const QPolygonF &polygon, Qt::ItemSelectionMode mode) const; void childItems_helper(QList<QGraphicsItem *> *items, |