- /// Used to store information about words to be used for wrapping
- struct Word {
- quint16 start;
- qreal endX;
- qreal width;
- qreal trailing;
- };
- typedef QVector<Word> WrapList;
+ inline const Message &message() const override { return _styledMsg; }
+ inline const QDateTime ×tamp() const override { return _styledMsg.timestamp(); }
+ inline const MsgId &msgId() const override { return _styledMsg.msgId(); }
+ inline const BufferId &bufferId() const override { return _styledMsg.bufferId(); }
+ inline void setBufferId(BufferId bufferId) override { _styledMsg.setBufferId(bufferId); }
+ inline Message::Type msgType() const override { return _styledMsg.type(); }
+ inline Message::Flags msgFlags() const override { return _styledMsg.flags(); }
+
+ virtual inline void invalidateWrapList() { _wrapList.clear(); }
+
+ /// Used to store information about words to be used for wrapping
+ struct Word {
+ quint16 start;
+ qreal endX;
+ qreal width;
+ qreal trailing;
+ };
+ typedef QVector<Word> WrapList;