mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 15:35:49 -04:00
fixed toggling read/unread and star status
This commit is contained in:
parent
875d0a15da
commit
5cbff98e40
4 changed files with 39 additions and 69 deletions
|
@ -85,7 +85,6 @@ public:
|
|||
void updateMessages();
|
||||
const RsMessageId& currentMessageId() const;
|
||||
|
||||
void setMsgReadStatus(const QModelIndex& i, bool read_status);
|
||||
void setFilter(int column, const QStringList& strings, uint32_t &count) ;
|
||||
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
|
@ -122,6 +121,10 @@ public:
|
|||
*/
|
||||
void debug_dump() const;
|
||||
|
||||
// control over message flags and so on. This is handled by the model because it will allow it to update accordingly
|
||||
void setMsgReadStatus(const QModelIndex& i, bool read_status);
|
||||
void setMsgStar(const QModelIndex& index,bool star) ;
|
||||
|
||||
signals:
|
||||
void messagesLoaded(); // emitted after the messages have been set. Can be used to updated the UI.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue