equal
deleted
inserted
replaced
49 public: |
49 public: |
50 |
50 |
51 explicit HbTreeView(QGraphicsItem *parent = 0); |
51 explicit HbTreeView(QGraphicsItem *parent = 0); |
52 virtual ~HbTreeView(); |
52 virtual ~HbTreeView(); |
53 |
53 |
|
54 enum { Type = Hb::ItemType_TreeView }; |
|
55 virtual int type() const { |
|
56 return Type; |
|
57 } |
|
58 |
54 virtual void setModel(QAbstractItemModel *model, HbAbstractViewItem *prototype = 0); |
59 virtual void setModel(QAbstractItemModel *model, HbAbstractViewItem *prototype = 0); |
55 |
60 |
56 virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); |
61 virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); |
57 |
62 |
58 void setExpanded(const QModelIndex &index, bool expanded); |
63 void setExpanded(const QModelIndex &index, bool expanded); |