+
+ inline ContentsChatItemPrivate *privateData() const;
+
+ QList<Clickable> findClickables();
+ void endHoverMode();
+ void showWebPreview(const Clickable &click);
+ void clearWebPreview();
+
+
+ // WARNING: setGeometry and setHeight should not be used without either:
+ // a) calling prepareGeometryChange() immediately before setColumns()
+ // b) calling Chatline::setPos() immediately afterwards
+ qreal setGeometryByWidth(qreal w);
+ friend class ChatLine;
+ friend struct ContentsChatItemPrivate;
+
+ inline QFontMetricsF *fontMetrics() const { return _fontMetrics; }
+ QFontMetricsF *_fontMetrics;