public slots:
void updateForViewport(qreal width, qreal height);
void setWidth(qreal width);
- void layout(qreal width = -1);
+ void layout(int start, int end, qreal width);
// these are used by the chatitems to notify the scene and manage selections
void setSelectingItem(ChatItem *item);