QXmppEntityTimeIq Class

QXmppEntityTimeIq represents an entity time request/response as defined in XEP-0202: Entity Time. More...

Header: #include <QXmppEntityTimeIq.h>
Inherits: QXmppIq

Public Functions

void setTzo(int tzo)
void setUtc(const QDateTime &utc)
int tzo() const
QDateTime utc() const

Detailed Description

Member Function Documentation

void QXmppEntityTimeIq::setTzo(int tzo)

Sets the timezone offset in seconds to tzo.

See also tzo().

void QXmppEntityTimeIq::setUtc(const QDateTime &utc)

Sets the date/time in Coordinated Universal Time (UTC) to utc.

See also utc().

int QXmppEntityTimeIq::tzo() const

Returns the timezone offset in seconds.

See also setTzo().

QDateTime QXmppEntityTimeIq::utc() const

Returns the date/time in Coordinated Universal Time (UTC).

See also setUtc().