src/hbwidgets/itemviews/hbgridview.h
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
--- a/src/hbwidgets/itemviews/hbgridview.h	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridview.h	Mon Oct 18 18:23:13 2010 +0300
@@ -42,6 +42,12 @@
 public:
     explicit HbGridView(QGraphicsItem *parent = 0);
     virtual ~HbGridView();
+
+    enum { Type = Hb::ItemType_GridView };
+    virtual int type() const {
+        return Type;
+    }
+
     HbAbstractViewItem *itemAt(int row, int column) const;
     void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible);