X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=ce56f6b2a721208dc7b3827403f98abca4efcacc;hp=f44e20bdfc8dc604b8b663f05ebe3296e9980e07;hb=9d22ec1fd8e8652744e6ea6c91de4a6ec5b2146c;hpb=533eaaeda64759c01daa624365b8fc63eeba5ccf diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index f44e20bd..ce56f6b2 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -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 _lines; + bool _singleBufferScene; ColumnHandleItem *firstColHandle, *secondColHandle; qreal firstColHandlePos, secondColHandlePos;