QXmppArchiveMessage Class

The QXmppArchiveMessage class represents an archived message as defined by XEP-0136: Message Archiving. More...

Header: #include <QXmppArchiveIq.h>

Public Functions

QString body() const
QDateTime date() const
bool isReceived() const
void setBody(const QString &body)
void setDate(const QDateTime &date)
void setReceived(bool isReceived)

Detailed Description

Member Function Documentation

QString QXmppArchiveMessage::body() const

Returns the archived message's body.

See also setBody().

QDateTime QXmppArchiveMessage::date() const

Returns the archived message's date.

See also setDate().

bool QXmppArchiveMessage::isReceived() const

Returns true if the archived message was received, false if it was sent.

void QXmppArchiveMessage::setBody(const QString &body)

Sets the archived message's body.

See also body().

void QXmppArchiveMessage::setDate(const QDateTime &date)

Sets the archived message's date.

See also date().

void QXmppArchiveMessage::setReceived(bool isReceived)

Set to true if the archived message was received, false if it was sent.

isReceived.

See also isReceived().