The QXmppVersionManager class makes it possible to request for the software version of an entity as defined by XEP-0092: Software Version.
More...
#include <QXmppVersionManager.h>
The QXmppVersionManager class makes it possible to request for the software version of an entity as defined by XEP-0092: Software Version.
◆ clientName()
QString QXmppVersionManager::clientName |
( |
| ) |
const |
Returns the local XMPP client's name.
By default this is set to the QApplication::applicationName(), or "Based on QXmpp" if not specified.
◆ clientOs()
QString QXmppVersionManager::clientOs |
( |
| ) |
const |
Returns the local XMPP client's operating system.
By default this equals to QSysInfo::prettyProductName() which contains the OS name and version (e.g. "Windows 8.1" or "Debian GNU/Linux buster").
◆ clientVersion()
QString QXmppVersionManager::clientVersion |
( |
| ) |
const |
Returns the local XMPP client's version.
By default this is set to QApplication::applicationVersion(), or QXmpp's version if not specified.
◆ requestVersion()
QString QXmppVersionManager::requestVersion |
( |
const QString & |
jid | ) |
|
Request version information from the specified XMPP entity.
- Parameters
-
◆ setClientName()
void QXmppVersionManager::setClientName |
( |
const QString & |
name | ) |
|
Sets the local XMPP client's name.
- Parameters
-
◆ setClientOs()
void QXmppVersionManager::setClientOs |
( |
const QString & |
os | ) |
|
Sets the local XMPP client's operating system.
- Parameters
-
◆ setClientVersion()
void QXmppVersionManager::setClientVersion |
( |
const QString & |
version | ) |
|
Sets the local XMPP client's version.
- Parameters
-
The documentation for this class was generated from the following files: