Attica 5.109.0
Public Types | Public Member Functions | List of all members
Attica::Message

Represents a message. More...

#include <Attica/Message>

Public Types

typedef QList< MessageList
 
enum  Status { Unread = 0 , Read = 1 , Answered = 2 }
 

Public Member Functions

 Message (const Message &other)
 
QString body () const
 
QString from () const
 
QString id () const
 
bool isValid () const
 
Messageoperator= (const Message &other)
 
QDateTime sent () const
 
void setBody (const QString &)
 
void setFrom (const QString &)
 
void setId (const QString &)
 
void setSent (const QDateTime &)
 
void setStatus (Status)
 
void setSubject (const QString &)
 
void setTo (const QString &)
 
Status status () const
 
QString subject () const
 
QString to () const
 

Detailed Description

Represents a message.