QXmppExternalServiceDiscoveryIq Class

The QXmppExternalServiceDiscoveryIq class represents an IQ used to discover external services as defined by XEP-0215: External Service Discovery. More...

Header: #include <QXmppExternalServiceDiscoveryIq>
Since: QXmpp 1.6
Inherits: QXmppIq

Public Functions

QXmppExternalServiceDiscoveryIq()
void addExternalService(const QXmppExternalService &externalService)
QVector<QXmppExternalService> externalServices() const
void setExternalServices(const QVector<QXmppExternalService> &externalServices)

Static Public Members

bool checkIqType(const QString &tagName, const QString &xmlNamespace)

Detailed Description

Member Function Documentation

QXmppExternalServiceDiscoveryIq::QXmppExternalServiceDiscoveryIq()

Constructs an external service discovery IQ.

void QXmppExternalServiceDiscoveryIq::addExternalService(const QXmppExternalService &externalService)

Adds the external service externalService to the list of external services in the IQ.

[static] bool QXmppExternalServiceDiscoveryIq::checkIqType(const QString &tagName, const QString &xmlNamespace)

Returns true if the element tagName in namespace xmlNamespace is a valid external service discovery IQ.

QVector<QXmppExternalService> QXmppExternalServiceDiscoveryIq::externalServices() const

Returns the external services of the IQ.

See also setExternalServices().

void QXmppExternalServiceDiscoveryIq::setExternalServices(const QVector<QXmppExternalService> &externalServices)

Sets the externalServices of the IQ.

See also externalServices().