equal
deleted
inserted
replaced
35 |
35 |
36 NmMailboxListModel(NmDataManager &dataManager, QObject *parent = 0); |
36 NmMailboxListModel(NmDataManager &dataManager, QObject *parent = 0); |
37 virtual ~NmMailboxListModel(); |
37 virtual ~NmMailboxListModel(); |
38 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; |
38 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; |
39 void refresh(QList<NmMailbox*> &mailboxList); |
39 void refresh(QList<NmMailbox*> &mailboxList); |
40 void refreshModelItem(const NmId &mailboxId, bool allowEmitDataChanged = true); |
40 void refreshModelItem(const NmId &mailboxId); |
41 |
41 |
42 public slots: |
42 public slots: |
43 void handleMailboxEvent(NmMailboxEvent event, const QList<NmId> &mailboxIds); |
43 void handleMailboxEvent(NmMailboxEvent event, const QList<NmId> &mailboxIds); |
44 |
44 |
45 private: |
45 private: |