#include "mailitem.h" MailItem::MailItem(qint64 id, int folderId, const QString& subject, const QString& sender, const QString& recipient, const QDateTime& date, bool read, bool flagged, const QVector& attachments, const QString& fileId, qint64 size, const QString& messageId) : m_id(id) , m_folderId(folderId) , m_subject(subject) , m_sender(sender) , m_recipient(recipient) , m_date(date) , m_read(read) , m_flagged(flagged) , m_attachments(attachments) , m_fileId(fileId) , m_size(size) , m_messageId(messageId) { }