X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fabstractbuffercontainer.h;h=cc77efda5181b0b66c64f2ce0cf2394dc3221707;hb=44833145103bc0802f2e6fcc9edecaa2fdafc9d9;hp=bf5833335ac6e8bd2cdd749e30801d8ae22b8e0f;hpb=982359db5545edf340a246cd13dfcdc9bf2ccf33;p=quassel.git diff --git a/src/uisupport/abstractbuffercontainer.h b/src/uisupport/abstractbuffercontainer.h index bf583333..cc77efda 100644 --- a/src/uisupport/abstractbuffercontainer.h +++ b/src/uisupport/abstractbuffercontainer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2010 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -52,9 +52,12 @@ protected: */ virtual void removeChatView(BufferId) = 0; + virtual inline bool autoSetMarkerLine() const { return true; } + protected slots: virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + virtual void rowsInserted(const QModelIndex &parent, int start, int end); //! Show the given chat view /** This method is called when the given chat view should be displayed. Use this e.g. for