X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=3d81612d162a23f3c5fa7c0c56d6bb279d6ac54e;hb=5941a9d24333401874e051c349b391e2bcac0e0d;hp=b47cfe846230b72eb1e112a80a8cc5745a419b52;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index b47cfe84..3d81612d 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef BUFFERWIDGET_H_ @@ -42,6 +42,7 @@ public: inline ChatViewSearchBar *searchBar() const { return ui.searchBar; } void addActionsToMenu(QMenu *, const QPointF &pos); + virtual inline bool autoMarkerLineOnLostFocus() const { return _autoMarkerLineOnLostFocus; } public slots: virtual void setMarkerLine(ChatView *view = 0, bool allowGoingBack = true); @@ -63,6 +64,7 @@ private slots: void zoomOriginal(); void setAutoMarkerLine(const QVariant &); + void setAutoMarkerLineOnLostFocus(const QVariant &); private: Ui::BufferWidget ui; @@ -71,6 +73,7 @@ private: ChatViewSearchController *_chatViewSearchController; bool _autoMarkerLine; + bool _autoMarkerLineOnLostFocus; };