equal
deleted
inserted
replaced
44 |
44 |
45 // Function declarations |
45 // Function declarations |
46 explicit HsMenuItemModel(const CaQuery &query, |
46 explicit HsMenuItemModel(const CaQuery &query, |
47 QObject *parent = 0); |
47 QObject *parent = 0); |
48 ~HsMenuItemModel(); |
48 ~HsMenuItemModel(); |
49 void setSort(HsSortAttribute sortAttribute); |
49 void setSort(Hs::HsSortAttribute sortAttribute); |
50 virtual QVariant data(const QModelIndex &index, |
50 virtual QVariant data(const QModelIndex &index, |
51 int role = Qt::DisplayRole) const; |
51 int role = Qt::DisplayRole) const; |
52 bool newIconNeeded(const QModelIndex &index) const; |
52 bool newIconNeeded(const QModelIndex &index) const; |
53 void preloadIcons(); |
53 void preloadIcons(); |
54 private slots: |
54 private slots: |