+ void clearCache();
+
+protected:
+ virtual bool sceneEvent(QEvent *event);
+
+ // These need to be relayed to the appropriate ChatItem
+ virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
+ virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
+ virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
+ virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
+ virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
+ virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event);
+
+ ChatItem *mouseEventTargetItem(const QPointF &pos);
+
+ inline ChatItem *mouseGrabberItem() const { return _mouseGrabberItem; }
+ void setMouseGrabberItem(ChatItem *item);
+