Obsolete Members for QXmppRosterIq

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

Public Functions

(since QXmpp 1.0, deprecated) QString version() const

Member Function Documentation

[since QXmpp 1.0, deprecated] QString QXmppRosterIq::version() const

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

Returns the roster version of the IQ.

Use versionOpt() instead, which distinguishes "no ver attribute" from ver="". This getter conflates both cases as an empty string.

This function was introduced in QXmpp 1.0.

See also setVersion().