X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fabstractbuffercontainer.h;h=474e10a489ac5c9daf4d0b445a389091d8c3b284;hb=326a0d0783c8ecffb6a7bae02fd74f66bd4242fa;hp=bf5833335ac6e8bd2cdd749e30801d8ae22b8e0f;hpb=982359db5545edf340a246cd13dfcdc9bf2ccf33;p=quassel.git diff --git a/src/uisupport/abstractbuffercontainer.h b/src/uisupport/abstractbuffercontainer.h index bf583333..474e10a4 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,15 @@ protected: */ virtual void removeChatView(BufferId) = 0; + //! If true, the marker line will be set automatically on buffer switch + /** \return Whether the marker line should be set on buffer switch + */ + virtual inline bool autoMarkerLine() 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