Obsolete Members for QXmppUtils

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

Static Public Members

(deprecated) QString jidToBareJid(const QString &jid)
(deprecated) QString jidToDomain(const QString &jid)
(deprecated) QString jidToResource(const QString &jid)
(deprecated) QString jidToUser(const QString &jid)

Member Function Documentation

[static, deprecated] QString QXmppUtils::jidToBareJid(const QString &jid)

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

Returns the bare jid (i.e. without resource) for the given jid.

since QXmpp 1.18, use QXmpp::Jid::bare()

[static, deprecated] QString QXmppUtils::jidToDomain(const QString &jid)

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

Returns the domain for the given jid.

since QXmpp 1.18, use QXmpp::Jid::domain()

[static, deprecated] QString QXmppUtils::jidToResource(const QString &jid)

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

Returns the resource for the given jid.

since QXmpp 1.18, use QXmpp::Jid::resource()

[static, deprecated] QString QXmppUtils::jidToUser(const QString &jid)

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

Returns the user for the given jid.

since QXmpp 1.18, use QXmpp::Jid::localpart()