X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fabstractbuffercontainer.h;h=51b9b9ad0cb11d6f04fe9be48dc909435e5a4068;hb=3202bf5340396b5c6b467e8d92d808b1cbbbf7fb;hp=cc77efda5181b0b66c64f2ce0cf2394dc3221707;hpb=1477d071abda9697c26ba1c0bbf4c2676faa05a5;p=quassel.git diff --git a/src/uisupport/abstractbuffercontainer.h b/src/uisupport/abstractbuffercontainer.h index cc77efda..51b9b9ad 100644 --- a/src/uisupport/abstractbuffercontainer.h +++ b/src/uisupport/abstractbuffercontainer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2010 by the Quassel Project * + * Copyright (C) 2005-2012 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -52,12 +52,14 @@ protected: */ virtual void removeChatView(BufferId) = 0; - virtual inline bool autoSetMarkerLine() const { return true; } + //! 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