src/hbwidgets/itemviews/hbabstractitemcontainer.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
--- a/src/hbwidgets/itemviews/hbabstractitemcontainer.h	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbabstractitemcontainer.h	Mon May 03 12:48:33 2010 +0300
@@ -68,17 +68,22 @@
     bool setItemPrototype(HbAbstractViewItem *prototype);
     bool setItemPrototypes(const QList<HbAbstractViewItem *> &prototypes);
 
+    void setItemTransientState(const QModelIndex &index, QHash<QString,QVariant> state);
+    void setItemTransientStateValue(const QModelIndex &index, const QString &key, const QVariant &value);
+
     void setItemState(const QModelIndex &index, QMap<int,QVariant> state);
     void setItemStateValue(const QModelIndex &index, int key, QVariant value);
 
     QMap<int,QVariant> itemState(const QModelIndex &index) const;
+    QHash<QString, QVariant> itemTransientState(const QModelIndex &index) const;
 
     void removeItemStates();
+    void removeItemTransientStates();
 
     void setItemRecycling(bool enabled);
     bool itemRecycling() const;
 
-    void setUniformItemSizes(bool enable);
+    virtual void setUniformItemSizes(bool enable);
     bool uniformItemSizes() const;
 
     virtual bool eventFilter(QObject *obj, QEvent *event);
@@ -86,6 +91,10 @@
     enum { Type = Hb::ItemType_AbstractItemContainer };
     int type() const;
 
+signals:
+
+    void itemCreated(HbAbstractViewItem *item);
+
 protected:
 
     HbAbstractItemContainer(HbAbstractItemContainerPrivate &dd, QGraphicsItem *parent);