Attica::Message Class

class Attica::Message

Represents a message. More...

Header: #include <Attica/Message>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

List
enum Status { Unread, Read, Answered }

Public Functions

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

Detailed Description

Member Type Documentation

Message::List

enum Message::Status

ConstantValue
Attica::Message::Unread0
Attica::Message::Read1
Attica::Message::Answered2

Member Function Documentation

Message::Message()

QString Message::body() const

See also setBody().

QString Message::from() const

See also setFrom().

QString Message::id() const

See also setId().

bool Message::isValid() const

QDateTime Message::sent() const

See also setSent().

void Message::setBody(const QString &)

See also body().

void Message::setFrom(const QString &)

See also from().

void Message::setId(const QString &)

See also id().

void Message::setSent(const QDateTime &)

See also sent().

void Message::setStatus(Attica::Message::Status)

See also status().

void Message::setSubject(const QString &)

See also subject().

void Message::setTo(const QString &)

See also to().

Attica::Message::Status Message::status() const

See also setStatus().

QString Message::subject() const

See also setSubject().

QString Message::to() const

See also setTo().