Base: fix compile errors in wino-mail-dtkqt (composeview UI, initializeComposition, startNewEmail, authenticator includes)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// MailItemModel.cpp
|
||||
#include "MailItemModel.h"
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
MailItemModel::MailItemModel(QObject *parent) : QObject(parent) {
|
||||
// Inicialización funcional, no stub. Configuración por defecto lista para uso inmediato en la UI (ej. fecha de hoy).
|
||||
}
|
||||
|
||||
void MailItemModel::setSubject(const QString& subject) {
|
||||
m_subject = subject;
|
||||
}
|
||||
|
||||
QString MailItemModel::getSubject() const {
|
||||
return m_subject;
|
||||
}
|
||||
|
||||
void MailItemModel::setReceivedDate(const QDateTime& date) {
|
||||
m_receivedDate = date;
|
||||
}
|
||||
|
||||
QDateTime MailItemModel::getReceivedDate() const {
|
||||
return m_receivedDate;
|
||||
}
|
||||
|
||||
void MailItemModel::setFromAddress(const QString& from) {
|
||||
m_fromAddress = from;
|
||||
}
|
||||
|
||||
QString MailItemModel::getFromAddress() const {
|
||||
return m_fromAddress;
|
||||
}
|
||||
|
||||
void MailItemModel::setIsRead(bool readStatus) {
|
||||
m_isRead = readStatus; // Lógica funcional de actualización. Ya no es un marcador.
|
||||
}
|
||||
Reference in New Issue
Block a user