summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsanchorlayout_p.h
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-06-22 15:27:31 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-22 18:04:31 (GMT)
commit92bca69c15898dd504f96e18227a22566038154a (patch)
tree4915c0b4021943cc2d7f140baad9f5a5921180da /src/gui/graphicsview/qgraphicsanchorlayout_p.h
parentb7150b21f02435abb8f7a4d94b929ecdad2ef79b (diff)
downloadQt-92bca69c15898dd504f96e18227a22566038154a.zip
Qt-92bca69c15898dd504f96e18227a22566038154a.tar.gz
Qt-92bca69c15898dd504f96e18227a22566038154a.tar.bz2
QGraphicsAnchorLayout: Fix QGraphicsItem reparent code
Using QGraphicsLayoutPrivate methods for proper reparenting of items. This makes it work in cases where nested layouts are used. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.h b/src/gui/graphicsview/qgraphicsanchorlayout_p.h
index f945cf7..1e9af63 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout_p.h
+++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.h
@@ -289,10 +289,6 @@ public:
QGraphicsLayoutItem *&secondItem,
QGraphicsAnchorLayout::Edge &secondEdge);
- // Child manipulation methods
- QGraphicsItem *parentItem() const;
- void addChildItem(QGraphicsLayoutItem *child);
-
// Activation methods
void simplifyGraph(Orientation orientation);
void restoreSimplifiedGraph(Orientation orientation);