Obsolete Members for QXmppMessageModeration

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

Public Functions

(deprecated) QString reason() const
(deprecated) void setReason(const QString &reason)

Member Function Documentation

[deprecated] QString QXmppMessageModeration::reason() const

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

Returns the optional human-readable reason for the moderation.

since QXmpp 1.18, the reason is part of the retraction, use QXmppMessageRetraction::reason() or QXmppMessageRetracted::reason().

See also setReason().

[deprecated] void QXmppMessageModeration::setReason(const QString &reason)

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

Sets the optional human-readable reason for the moderation.

since QXmpp 1.18, the reason is part of the retraction, use QXmppMessageRetraction::setReason() or QXmppMessageRetracted::setReason().

See also reason().