X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fbufferwidget.h;h=14e9196031d510be6d84364487133c09fb07bd70;hb=4e51500401db3c85dbe5e92e5e5c15b6e3c87787;hp=2d3d996cf730295bcb85793b941c8960569512aa;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index 2d3d996c..14e91960 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -64,6 +64,13 @@ private slots: void setAutoMarkerLine(const QVariant&); void setAutoMarkerLineOnLostFocus(const QVariant&); + /** + * Sets the local cache of whether or not a buffer should fetch backlog upon show to provide a + * scrollable amount of backlog + * + * @seealso BacklogSettings::setEnsureBacklogOnBufferShow() + */ + void setEnsureBacklogOnBufferShow(const QVariant&); private: Ui::BufferWidget ui; @@ -73,4 +80,5 @@ private: bool _autoMarkerLine; bool _autoMarkerLineOnLostFocus; + bool _ensureBacklogOnBufferShow; ///< If a buffer fetches backlog upon show until scrollable };