X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=914cd4538591164876a56e9f1ad55ca6f40c87fc;hp=d03327e043d69132658954380d2fa420bb636208;hb=517fc0fdbbd67b4e195b7a06246ff81a963a37fa;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index d03327e0..914cd453 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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; };