+ void setWidth(qreal);
+
+ // these are used by the chatitems to notify the scene and manage selections
+ void setSelectingItem(ChatItem *item);
+ ChatItem *selectingItem() const { return _selectingItem; }
+ void startGlobalSelection(ChatItem *item, const QPointF &itemPos);
+
+ void setIsFetchingBacklog(bool);
+ inline void setBufferForBacklogFetching(BufferId buffer);
+
+ signals:
+ void heightChanged(qreal height);
+
+ protected:
+ virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent);
+ virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent);
+ virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *mouseEvent);