X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=c245ebc4d7ea50ae399a382e51ef3bbaa4312c73;hp=0ad7faf699bb18c781600d29beef3f08091d8f77;hb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index 0ad7faf6..c245ebc4 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 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; };