The QXmppEntityTimeManager class provided the functionality to get the local time of an entity as defined by XEP-0202 : Entity Time.
More...
#include <QXmppEntityTimeManager.h>
|
void | timeReceived (const QXmppEntityTimeIq &) |
| This signal is emitted when a time response is received. It's not emitted when the QFuture-based request is used.
|
|
void | setGauge (const QString &gauge, double value) |
| Sets the given gauge to value.
|
|
void | logMessage (QXmppLogger::MessageType type, const QString &msg) |
| This signal is emitted to send logging messages.
|
|
void | updateCounter (const QString &counter, qint64 amount=1) |
| Updates the given counter by amount.
|
|
The QXmppEntityTimeManager class provided the functionality to get the local time of an entity as defined by XEP-0202 : Entity Time.
◆ EntityTimeResult
Contains the requested entity time or the returned error in case of a failure.
- Since
- QXmpp 1.5
◆ requestEntityTime()
auto QXmppEntityTimeManager::requestEntityTime |
( |
const QString & | jid | ) |
|
Requests the time from an XMPP entity and reports it via a QFuture.
The timeReceived() signal is not emitted.
- Parameters
-
- Warning
- THIS API IS NOT FINALIZED YET!
- Since
- QXmpp 1.5
◆ requestTime()
QString QXmppEntityTimeManager::requestTime |
( |
const QString & | jid | ) |
|
Request the time from an XMPP entity.
The result is emitted on the timeReceived() signal.
- Parameters
-
The documentation for this class was generated from the following files: