X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=2b63646daab355aafb00b9d3c7e26313ff168ad2;hp=a2a15ae4e61c23d3f2cccddf8d1bd6c86b237c07;hb=26b9300ccab24e526a9f43bef95a2a70f59161df;hpb=1eb21546673535f5707aa6346e8c749b928cd772 diff --git a/src/core/core.h b/src/core/core.h index a2a15ae4..2b63646d 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -199,11 +199,11 @@ class Core : public QObject { /** \note This method is threadsafe. * * \param buffer The buffer we request messages from - * \param lastmsgs The number of messages we would like to receive, or -1 if we'd like all messages from that buffername + * \param limit The number of messages we would like to receive, or -1 if we'd like all messages from that buffername * \param offset Do not return (but DO count) messages with MsgId >= offset, if offset >= 0 * \return The requested list of messages */ - static QList requestMsgs(UserId user, BufferId buffer, int lastmsgs = -1, int offset = -1); + static QList requestMsgs(UserId user, BufferId buffer, int limit = -1, int offset = -1); //! Request messages stored in a given buffer since a certain point in time. /** \note This method is threadsafe.