2026-05-12 00:23:13 +02:00
|
|
|
#include "mailitem.h"
|
|
|
|
|
|
2026-05-12 01:08:09 +02:00
|
|
|
MailItem::MailItem(qint64 id, int folderId, const QString& subject, const QString& sender,
|
2026-05-12 00:23:13 +02:00
|
|
|
const QString& recipient, const QDateTime& date,
|
|
|
|
|
bool read, bool flagged,
|
2026-05-12 01:08:09 +02:00
|
|
|
const QVector<QString>& attachments,
|
|
|
|
|
const QString& fileId,
|
|
|
|
|
qint64 size,
|
|
|
|
|
const QString& messageId)
|
2026-05-12 00:23:13 +02:00
|
|
|
: m_id(id)
|
2026-05-12 01:08:09 +02:00
|
|
|
, m_folderId(folderId)
|
2026-05-12 00:23:13 +02:00
|
|
|
, m_subject(subject)
|
|
|
|
|
, m_sender(sender)
|
|
|
|
|
, m_recipient(recipient)
|
|
|
|
|
, m_date(date)
|
|
|
|
|
, m_read(read)
|
|
|
|
|
, m_flagged(flagged)
|
|
|
|
|
, m_attachments(attachments)
|
2026-05-12 01:08:09 +02:00
|
|
|
, m_fileId(fileId)
|
|
|
|
|
, m_size(size)
|
|
|
|
|
, m_messageId(messageId)
|
2026-05-12 00:23:13 +02:00
|
|
|
{
|
|
|
|
|
}
|