src/hbwidgets/itemviews/hbgriditemcontainer_p.h
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 28 b7da29130b0e
--- a/src/hbwidgets/itemviews/hbgriditemcontainer_p.h	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgriditemcontainer_p.h	Fri May 14 16:09:54 2010 +0300
@@ -26,7 +26,7 @@
 #define HBGRIDITEMCONTAINER_P_H
 
 #include <QObject>
-#include <hbabstractitemcontainer.h>
+#include <hbabstractitemcontainer_p.h>
 #include <hbabstractitemview.h>
 #include <hbgridlayout_p.h>
 
@@ -61,6 +61,8 @@
     QModelIndex lastValidItemIndex() const;
     void setUniformItemSizes(bool enable);
 
+    virtual void resizeContainer();
+
 protected:
     HbGridItemContainer( HbGridItemContainerPrivate &dd, QGraphicsItem *parent = 0 );
     virtual QPointF recycleItems(const QPointF &delta);
@@ -72,6 +74,8 @@
 
     virtual HbAbstractViewItem *createDefaultPrototype() const;
 
+    QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
+
 protected slots:
 
     void animationFinished(const HbEffect::EffectStatus &status);