homescreensrv_plat/contentstorage_api/caitemmodel.h
branchGCC_SURGE
changeset 105 e7325f632549
parent 103 b99b84bcd2d1
child 109 e0aa398e6810
equal deleted inserted replaced
81:5ef31a21fdd5 105:e7325f632549
    46         IdRole = Qt::UserRole + 1,
    46         IdRole = Qt::UserRole + 1,
    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     };
    53     };
    53 
    54 
    54     // Function declarations
    55     // Function declarations
    55     CaItemModel(const CaQuery &query, QObject *parent = 0);
    56     CaItemModel(const CaQuery &query, QObject *parent = 0);
    56     ~CaItemModel();
    57     ~CaItemModel();
    79 
    80 
    80     signals:
    81     signals:
    81 
    82 
    82     void scrollTo(int row, QAbstractItemView::ScrollHint hint =
    83     void scrollTo(int row, QAbstractItemView::ScrollHint hint =
    83         QAbstractItemView::EnsureVisible);
    84         QAbstractItemView::EnsureVisible);
       
    85     void empty(bool value);
    84 
    86 
    85 protected:
    87 protected:
    86     // data
    88     // data
    87 
    89 
    88     CaItemModelPrivate * const m_d;
    90     CaItemModelPrivate * const m_d;