summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgridlayoutengine_p.h
diff options
context:
space:
mode:
authorCarolina Gomes <ext-carolina.s.gomes@nomovok.com>2010-08-11 09:11:41 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2010-08-11 09:11:41 (GMT)
commitae1a4a918137e99417e70a4f2c2c43f14406f993 (patch)
treee616e7180b3c087586a8015f09b74c51ecf3b714 /src/gui/graphicsview/qgridlayoutengine_p.h
parent9a6bd194d403f596d66fbe8aad43550310f48eca (diff)
downloadQt-ae1a4a918137e99417e70a4f2c2c43f14406f993.zip
Qt-ae1a4a918137e99417e70a4f2c2c43f14406f993.tar.gz
Qt-ae1a4a918137e99417e70a4f2c2c43f14406f993.tar.bz2
Patch to QTBUG-3078
Merge-request: 723 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/gui/graphicsview/qgridlayoutengine_p.h')
-rw-r--r--src/gui/graphicsview/qgridlayoutengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgridlayoutengine_p.h b/src/gui/graphicsview/qgridlayoutengine_p.h
index 9ac9a8e..a4ef21d 100644
--- a/src/gui/graphicsview/qgridlayoutengine_p.h
+++ b/src/gui/graphicsview/qgridlayoutengine_p.h
@@ -326,6 +326,7 @@ public:
// returns the number of items inserted, which may be less than (rowCount * columnCount)
int itemCount() const;
QGridLayoutItem *itemAt(int index) const;
+ int indexOf(QGraphicsLayoutItem *item) const;
int effectiveFirstRow(Qt::Orientation orientation = Qt::Vertical) const;
int effectiveLastRow(Qt::Orientation orientation = Qt::Vertical) const;