summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicslayout.h
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-23 09:06:45 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-23 09:59:58 (GMT)
commit0ab4d027de7ed6ae0c848499aacea8a23dc9042c (patch)
tree2c6de67b27d41a22305ebd90ab7ca18667c1f2c6 /src/gui/graphicsview/qgraphicslayout.h
parent369afa4bcee7addbf1a7e8556cf0b521bb75c57d (diff)
downloadQt-0ab4d027de7ed6ae0c848499aacea8a23dc9042c.zip
Qt-0ab4d027de7ed6ae0c848499aacea8a23dc9042c.tar.gz
Qt-0ab4d027de7ed6ae0c848499aacea8a23dc9042c.tar.bz2
Small API addition: Make addChildLayoutItem available for subclasses.
Many people have requested this. And since its protected it does not really pollute the API a lot. Task: QTBUG-3524 Reviewed-by: mbm
Diffstat (limited to 'src/gui/graphicsview/qgraphicslayout.h')
-rw-r--r--src/gui/graphicsview/qgraphicslayout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicslayout.h b/src/gui/graphicsview/qgraphicslayout.h
index e872980..e214a62 100644
--- a/src/gui/graphicsview/qgraphicslayout.h
+++ b/src/gui/graphicsview/qgraphicslayout.h
@@ -78,6 +78,7 @@ public:
protected:
QGraphicsLayout(QGraphicsLayoutPrivate &, QGraphicsLayoutItem *);
+ void addChildLayoutItem(QGraphicsLayoutItem *layoutItem);
private:
Q_DISABLE_COPY(QGraphicsLayout)