X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=14e9196031d510be6d84364487133c09fb07bd70;hb=ec58ac2059020bd613c3970494908a694b54a7db;hp=a26040bd3213b258eaffdf70faecea11445f8f06;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index a26040bd..14e91960 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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 };