Add Account and Folder models, update CMakeLists.txt with source files, add MailItem implementation

This commit is contained in:
Padrino
2026-05-12 00:23:13 +02:00
parent a1c2b97dee
commit c97740c17b
6 changed files with 162 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
#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)
{
}