the new chatwidget now highlights the first new message since your last visit (curren...
[quassel.git] / src / qtui / chatscene.h
index f44e20b..ce56f6b 100644 (file)
@@ -50,6 +50,7 @@ class ChatScene : public QGraphicsScene {
     inline BufferId bufferForBacklogFetching() const;
     int sectionByScenePos(int x);
     inline int sectionByScenePos(const QPoint &pos) { return sectionByScenePos(pos.x()); }
+    inline bool isSingleBufferScene() const { return _singleBufferScene; }
 
   public slots:
     void setWidth(qreal);
@@ -87,6 +88,7 @@ class ChatScene : public QGraphicsScene {
     qreal _width, _height;
     QAbstractItemModel *_model;
     QList<ChatLine *> _lines;
+    bool _singleBufferScene;
 
     ColumnHandleItem *firstColHandle, *secondColHandle;
     qreal firstColHandlePos, secondColHandlePos;