66
66
const QString &contents = "", const QString &sender = "", Flags flags = None);
68
68
inline static Message ChangeOfDay(const QDateTime &day) { return Message(day, BufferInfo(), DayChange, tr("Day changed to %1").arg(day.toString("dddd MMMM d yyyy"))); }
70
70
inline void setMsgId(MsgId id) { _msgId = id; }
75
77
inline Type type() const { return _type; }
76
78
inline Flags flags() const { return _flags; }
81
84
inline bool operator<(const Message &other) const { return _msgId < other._msgId; }