equal
deleted
inserted
replaced
47 ParentIdRole, |
47 ParentIdRole, |
48 TypeRole, |
48 TypeRole, |
49 FlagsRole, |
49 FlagsRole, |
50 TextRole,//contains title represented as QString, |
50 TextRole,//contains title represented as QString, |
51 FullTextRole, //'title description' convinient for operations such as search |
51 FullTextRole, //'title description' convinient for operations such as search |
52 UninstalRole //contains progress status as decimal number in QString |
52 UninstalRole, //contains progress status as decimal number in QString |
|
53 CollectionTitleRole //contains title represented as QString, |
|
54 |
53 }; |
55 }; |
54 |
56 |
55 // Function declarations |
57 // Function declarations |
56 CaItemModel(const CaQuery &query, QObject *parent = 0); |
58 CaItemModel(const CaQuery &query, QObject *parent = 0); |
57 ~CaItemModel(); |
59 ~CaItemModel(); |
81 signals: |
83 signals: |
82 |
84 |
83 void scrollTo(int row, QAbstractItemView::ScrollHint hint = |
85 void scrollTo(int row, QAbstractItemView::ScrollHint hint = |
84 QAbstractItemView::EnsureVisible); |
86 QAbstractItemView::EnsureVisible); |
85 void empty(bool value); |
87 void empty(bool value); |
|
88 void countChange(); |
86 |
89 |
87 protected: |
90 protected: |
88 // data |
91 // data |
89 |
92 |
90 CaItemModelPrivate * const m_d; |
93 CaItemModelPrivate * const m_d; |