X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=30ef2d9f1d8a4237d0f88ded95eeaec2e5967b6f;hp=e401f463b4866a87e43833fa406b5903cadce86c;hb=7582ce11d6fb8b5123f7ac4794c57e981a634e93;hpb=541013790cdbd0c32d81debf8f42ac6b5183a4aa diff --git a/src/client/client.h b/src/client/client.h index e401f463..30ef2d9f 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -171,6 +171,13 @@ signals: void logUpdated(const QString &msg); + //! Emitted when a buffer has been marked as read + /** This is currently triggered by setting lastSeenMsg, either local or remote, + * or by bringing the window to front. + * \param id The buffer that has been marked as read + */ + void bufferMarkedAsRead(BufferId id); + public slots: void disconnectFromCore(); @@ -178,6 +185,8 @@ public slots: void bufferRenamed(BufferId bufferId, const QString &newName); void buffersPermanentlyMerged(BufferId bufferId1, BufferId bufferId2); + void markBufferAsRead(BufferId id); + private slots: void setSyncedToCore(); void setDisconnectedFromCore();