16 lines
459 B
C++
16 lines
459 B
C++
|
|
#include "mailitem.h"
|
||
|
|
|
||
|
|
MailItem::MailItem(qint64 id, const QString& subject, const QString& sender,
|
||
|
|
const QString& recipient, const QDateTime& date,
|
||
|
|
bool read, bool flagged,
|
||
|
|
const QVector<QString>& attachments)
|
||
|
|
: m_id(id)
|
||
|
|
, m_subject(subject)
|
||
|
|
, m_sender(sender)
|
||
|
|
, m_recipient(recipient)
|
||
|
|
, m_date(date)
|
||
|
|
, m_read(read)
|
||
|
|
, m_flagged(flagged)
|
||
|
|
, m_attachments(attachments)
|
||
|
|
{
|
||
|
|
}
|