Obsolete Members for QXmppDiscoveryManager

The following members of class QXmppDiscoveryManager are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated) QXmppDiscoveryIq capabilities()
(deprecated) QString clientApplicationName() const
(deprecated) QString clientCategory() const
(deprecated) QXmppDataForm clientInfoForm() const
(deprecated) QString clientType() const
(since QXmpp 1.5, deprecated) QXmppTask<QXmppDiscoveryManager::InfoResult> requestDiscoInfo(const QString &jid, const QString &node = {})
(since QXmpp 1.5, deprecated) QXmppTask<QXmppDiscoveryManager::ItemsResult> requestDiscoItems(const QString &jid, const QString &node = {})
(deprecated) QString requestInfo(const QString &jid, const QString &node = QString())
(deprecated) QString requestItems(const QString &jid, const QString &node = QString())
(deprecated) void setClientCategory(const QString &category)
(deprecated) void setClientInfoForm(const QXmppDataForm &form)
(deprecated) void setClientName(const QString &name)
(deprecated) void setClientType(const QString &type)

Signals

(deprecated) void infoReceived(const QXmppDiscoveryIq &)
(deprecated) void itemsReceived(const QXmppDiscoveryIq &)

Member Function Documentation

[deprecated] QXmppDiscoveryIq QXmppDiscoveryManager::capabilities()

This function is deprecated. We strongly advise against using it in new code.

Returns the client's full capabilities.

Use buildClientInfo()

[deprecated] QString QXmppDiscoveryManager::clientApplicationName() const

This function is deprecated. We strongly advise against using it in new code.

Returns the name of the local XMPP client.

By default this is "QXmpp x.y.z".

Use identities()

[deprecated] QString QXmppDiscoveryManager::clientCategory() const

This function is deprecated. We strongly advise against using it in new code.

Returns the category of the local XMPP client.

By default this is "client".

Use identities()

See also setClientCategory().

[deprecated] QXmppDataForm QXmppDiscoveryManager::clientInfoForm() const

This function is deprecated. We strongly advise against using it in new code.

Returns the client's extended information form, as defined by XEP-0128: Service Discovery Extensions.

Use infoForms()

See also setClientInfoForm().

[deprecated] QString QXmppDiscoveryManager::clientType() const

This function is deprecated. We strongly advise against using it in new code.

Returns the type of the local XMPP client.

With Qt builds for Android, Blackberry, iOS or Windows Phone this is set to "phone", otherwise it defaults to "pc".

Use identities()

See also setClientType().

[signal, deprecated] void QXmppDiscoveryManager::infoReceived(const QXmppDiscoveryIq &)

This function is deprecated. We strongly advise against using it in new code.

This signal is emitted when an information response is received.

[signal, deprecated] void QXmppDiscoveryManager::itemsReceived(const QXmppDiscoveryIq &)

This function is deprecated. We strongly advise against using it in new code.

This signal is emitted when an items response is received.

[since QXmpp 1.5, deprecated] QXmppTask<QXmppDiscoveryManager::InfoResult> QXmppDiscoveryManager::requestDiscoInfo(const QString &jid, const QString &node = {})

This function is deprecated. We strongly advise against using it in new code.

Requests information from the specified XMPP entity jid, optionally restricted to a target node node.

Use info()

This function was introduced in QXmpp 1.5.

[since QXmpp 1.5, deprecated] QXmppTask<QXmppDiscoveryManager::ItemsResult> QXmppDiscoveryManager::requestDiscoItems(const QString &jid, const QString &node = {})

This function is deprecated. We strongly advise against using it in new code.

Requests items from the specified XMPP entity jid, optionally restricted to a target node node.

Use items()

This function was introduced in QXmpp 1.5.

[deprecated] QString QXmppDiscoveryManager::requestInfo(const QString &jid, const QString &node = QString())

This function is deprecated. We strongly advise against using it in new code.

Requests information from the specified XMPP entity jid, optionally restricted to a target node node.

Use info()

[deprecated] QString QXmppDiscoveryManager::requestItems(const QString &jid, const QString &node = QString())

This function is deprecated. We strongly advise against using it in new code.

Requests items from the specified XMPP entity jid, optionally restricted to a target node node.

Use items()

[deprecated] void QXmppDiscoveryManager::setClientCategory(const QString &category)

This function is deprecated. We strongly advise against using it in new code.

Sets the category of the local XMPP client.

You can find a list of valid categories at: http://xmpp.org/registrar/disco-categories.html

Use setIdentities(), this function will remove other identities if set.

See also clientCategory().

[deprecated] void QXmppDiscoveryManager::setClientInfoForm(const QXmppDataForm &form)

This function is deprecated. We strongly advise against using it in new code.

Sets the client's extended information form, as defined by XEP-0128: Service Discovery Extensions.

Use setInfoForms()

See also clientInfoForm().

[deprecated] void QXmppDiscoveryManager::setClientName(const QString &name)

This function is deprecated. We strongly advise against using it in new code.

Sets the name of the local XMPP client.

Use setIdentities(), this function will remove other identities if set.

[deprecated] void QXmppDiscoveryManager::setClientType(const QString &type)

This function is deprecated. We strongly advise against using it in new code.

Sets the type of the local XMPP client.

You can find a list of valid types at: http://xmpp.org/registrar/disco-categories.html

Use setIdentities(), this function will remove other identities if set.

See also clientType().