+ enum ChatLineRole {
+ WrapListRole = MessageModel::UserRole
+ };
+
+ ChatLineModel(QObject *parent = 0);
+ virtual ~ChatLineModel();
+
+ /// Used to store information about words to be used for wrapping
+ struct Word {
+ quint16 start;
+ qreal width;
+ qreal trailing;
+ };
+
+ typedef QVector<Word> WrapList;
+