cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / qtui / bufferwidget.h
index a26040b..5310d46 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 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
 };