Remove Qt 5 to-do comments from qgraphicslayoutitem.h.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 11 Apr 2012 14:21:42 +0000 (00:21 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Apr 2012 17:14:43 +0000 (19:14 +0200)
Neither of these comments will be actioned for Qt 5: the first because
would be source-incompatible with Qt 4, the second becuase it would be
a significant behavioural change.

Task-number: QTBUG-25090
Change-Id: I5f8f7cce3007c3188b2f0184138fa8e55a165654
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/graphicsview/qgraphicslayoutitem.h

index ef391f0..38f0974 100644 (file)
@@ -96,13 +96,12 @@ public:
 
     QSizeF effectiveSizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
 
-    virtual void updateGeometry();  //### rename to sizeHintChanged()
+    virtual void updateGeometry();
 
     QGraphicsLayoutItem *parentLayoutItem() const;
     void setParentLayoutItem(QGraphicsLayoutItem *parent);
 
     bool isLayout() const;
-    // ###Qt5: Make automatic reparenting work regardless of item/object/widget type.
     QGraphicsItem *graphicsItem() const;
     bool ownedByLayout() const;