X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientbacklogmanager.h;h=e0bcfa30ce82c25fea762d398807c42b92e0c811;hb=12088be1ee7c16faf52a39ab2b6e01a6ec7bfeb6;hp=6d76789ba7fdcee5b0a127c4eef9f64661f84d21;hpb=fb011e52bc6613198a65e037f0752f6361339aeb;p=quassel.git diff --git a/src/client/clientbacklogmanager.h b/src/client/clientbacklogmanager.h index 6d76789b..e0bcfa30 100644 --- a/src/client/clientbacklogmanager.h +++ b/src/client/clientbacklogmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,13 +32,14 @@ class ClientBacklogManager : public BacklogManager { 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: - virtual void receiveBacklog(BufferId bufferId, int lastMsgs, int offset, QVariantList msgs); + virtual void receiveBacklog(BufferId bufferId, MsgId first, MsgId last, int limit, int additional, QVariantList msgs); + virtual void receiveBacklogAll(MsgId first, MsgId last, int limit, int additional, QVariantList msgs); void requestInitialBacklog(); signals: