diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-21 16:06:13 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-21 16:06:13 (GMT) |
commit | a033edc2517a0a108fc3c23190557a22465c96fb (patch) | |
tree | 658a0d6bffd017f3036ff5776ac5dad1d4e35990 /src/gui/graphicsview/qgraphicsscene.h | |
parent | 5fd5f9da3b4b433d43a4fe5c6d1a07cbc4712128 (diff) | |
download | Qt-a033edc2517a0a108fc3c23190557a22465c96fb.zip Qt-a033edc2517a0a108fc3c23190557a22465c96fb.tar.gz Qt-a033edc2517a0a108fc3c23190557a22465c96fb.tar.bz2 |
Doc: make potentially incorrect overloads obsolete.
Also add additional overload.
Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.h b/src/gui/graphicsview/qgraphicsscene.h index d790f90..c0c6e75 100644 --- a/src/gui/graphicsview/qgraphicsscene.h +++ b/src/gui/graphicsview/qgraphicsscene.h @@ -182,8 +182,9 @@ public: QList<QGraphicsItem *> selectedItems() const; QPainterPath selectionArea() const; - void setSelectionArea(const QPainterPath &path); - void setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode); + void setSelectionArea(const QPainterPath &path); // ### obsolete + void setSelectionArea(const QPainterPath &path, const QTransform &deviceTransform); + void setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode); // ### obsolete void setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode, const QTransform &deviceTransform); QGraphicsItemGroup *createItemGroup(const QList<QGraphicsItem *> &items); |