Refactor the markerline into a proper QGraphicsWidget
[quassel.git] / src / qtui / bufferwidget.h
index dc8b823..b818435 100644 (file)
@@ -42,6 +42,9 @@ 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);
@@ -50,8 +53,6 @@ protected:
 protected slots:
   virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
   virtual void showChatView(BufferId);
-public slots:
-  virtual void setMarkerLine(ChatView *view = 0, bool allowGoingBack = true);
 
 private slots:
   void scrollToHighlight(QGraphicsItem *highlightItem);