adapting the backlogmanagers to the new storage api
[quassel.git] / src / client / clientbacklogmanager.h
index 6051497..a3f19ae 100644 (file)
@@ -32,15 +32,13 @@ class ClientBacklogManager : public BacklogManager {
 public:
   ClientBacklogManager(QObject *parent = 0);
 
 public:
   ClientBacklogManager(QObject *parent = 0);
 
-  virtual const QMetaObject *syncMetaObject() const { return &BacklogManager::staticMetaObject; }
-
   // helper for the backlogRequester, as it isn't a QObject and can't emit itself
   inline void emitMessagesRequested(const QString &msg) const { emit messagesRequested(msg); }
 
   void reset();
 
 public slots:
   // helper for the backlogRequester, as it isn't a QObject and can't emit itself
   inline void emitMessagesRequested(const QString &msg) const { emit messagesRequested(msg); }
 
   void reset();
 
 public slots:
-  virtual void receiveBacklog(BufferId bufferId, int limit, int offset, QVariantList msgs);
+  virtual void receiveBacklog(BufferId bufferId, MsgId first, MsgId last, int limit, QVariantList msgs);
   void requestInitialBacklog();
 
 signals:
   void requestInitialBacklog();
 
 signals: