src/hbwidgets/dataform/hbdataformmodelitem.h
changeset 2 06ff229162e9
parent 0 16d8024aca5e
--- a/src/hbwidgets/dataform/hbdataformmodelitem.h	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbwidgets/dataform/hbdataformmodelitem.h	Fri May 14 16:09:54 2010 +0300
@@ -42,9 +42,8 @@
 
 public:
 
-    enum Roles {
-        KeyRole = Qt::UserRole + 1,
-        LabelRole,
+    enum Roles {       
+        LabelRole = Qt::UserRole + 1,
         ItemTypeRole,
         PropertyRole,
         DescriptionRole
@@ -80,10 +79,7 @@
 
     HbDataFormModelItem* childAt(int index) const;
     int indexOf(const HbDataFormModelItem* child) const;
-    int childCount() const;
-
-    void setModel(const QAbstractItemModel *model);
-    QAbstractItemModel* model() const;
+    int childCount() const;    
 
     QVariant data(int role) const;
     void setData(int role, const QVariant &value);