Fixes #913 - Core backlog download does not start until main window is unhidden
[quassel.git] / src / client / client.h
index e401f46..ab413b8 100644 (file)
@@ -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();
@@ -193,7 +202,6 @@ private slots:
   void coreNetworkRemoved(NetworkId);
 
   void requestInitialBacklog();
-  void createDefaultBufferView();
 
   void sendBufferedUserInput();