X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=b818435ae5773ba86a045d3a32d1b5d9b1bb6723;hp=5e1af508d0811c974225cd21351ccc0c6ddbf027;hb=6e73ba4a19fd92038e1ea749125767661fb34e27;hpb=16e4a21c1292448c1a524010d70f6e59b84802f4 diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index 5e1af508..b818435a 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -26,6 +26,7 @@ #include "abstractbuffercontainer.h" class QGraphicsItem; +class ChatView; class ChatViewSearchBar; class ChatViewSearchController; @@ -41,11 +42,16 @@ public: inline ChatViewSearchBar *searchBar() const { return ui.searchBar; } void addActionsToMenu(QMenu *, const QPointF &pos); +public slots: + virtual void setMarkerLine(ChatView *view = 0, bool allowGoingBack = true); + protected: virtual AbstractChatView *createChatView(BufferId); virtual void removeChatView(BufferId); + virtual inline bool autoMarkerLine() const { return _autoMarkerLine; } protected slots: + virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); virtual void showChatView(BufferId); private slots: @@ -54,11 +60,15 @@ private slots: void zoomOut(); void zoomOriginal(); + void setAutoMarkerLine(const QVariant &); + private: Ui::BufferWidget ui; QHash _chatViews; ChatViewSearchController *_chatViewSearchController; + + bool _autoMarkerLine; }; #endif