Attica::Message

Search for usage in LXR

Attica::Message Class Reference

#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.

Definition at line 26 of file message.h.

Member Typedef Documentation

◆ List

Definition at line 29 of file message.h.

Member Enumeration Documentation

◆ Status

enum Attica::Message::Status

Definition at line 32 of file message.h.

Constructor & Destructor Documentation

◆ Message() [1/2]

Message::Message ( )

Definition at line 30 of file message.cpp.

◆ Message() [2/2]

Message::Message ( const Message & other)

Definition at line 35 of file message.cpp.

◆ ~Message()

Message::~Message ( )

Definition at line 46 of file message.cpp.

Member Function Documentation

◆ body()

QString Message::body ( ) const

Definition at line 115 of file message.cpp.

◆ from()

QString Message::from ( ) const

Definition at line 65 of file message.cpp.

◆ id()

QString Message::id ( ) const

Definition at line 55 of file message.cpp.

◆ isValid()

bool Message::isValid ( ) const

Definition at line 120 of file message.cpp.

◆ operator=()

Message & Message::operator= ( const Message & other)

Definition at line 40 of file message.cpp.

◆ sent()

QDateTime Message::sent ( ) const

Definition at line 85 of file message.cpp.

◆ setBody()

void Message::setBody ( const QString & body)

Definition at line 110 of file message.cpp.

◆ setFrom()

void Message::setFrom ( const QString & n)

Definition at line 60 of file message.cpp.

◆ setId()

void Message::setId ( const QString & u)

Definition at line 50 of file message.cpp.

◆ setSent()

void Message::setSent ( const QDateTime & date)

Definition at line 80 of file message.cpp.

◆ setStatus()

void Message::setStatus ( Message::Status s)

Definition at line 90 of file message.cpp.

◆ setSubject()

void Message::setSubject ( const QString & subject)

Definition at line 100 of file message.cpp.

◆ setTo()

void Message::setTo ( const QString & n)

Definition at line 70 of file message.cpp.

◆ status()

Message::Status Message::status ( ) const

Definition at line 95 of file message.cpp.

◆ subject()

QString Message::subject ( ) const

Definition at line 105 of file message.cpp.

◆ to()

QString Message::to ( ) const

Definition at line 75 of file message.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:19:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.