Obsolete Members for QXmppLogger
The following members of class QXmppLogger are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(deprecated)prettyXml : bool
Public Functions
(since QXmpp 1.16, deprecated) void | enablePrettyXml(bool enable = true) |
(since QXmpp 1.16, deprecated) bool | prettyXml() const |
(since QXmpp 1.16, deprecated) void | setPrettyXml(bool enable) |
Signals
(deprecated) void | prettyXmlChanged() |
Property Documentation
[deprecated] prettyXml : bool
This enumeration is deprecated. We strongly advise against using it in new code.
Whether to pretty-print Sent/Received XML stanzas with indentation
This property is deprecated since QXmpp 1.17. Use outputMode instead.
Access functions:
| bool | prettyXml() const |
| void | setPrettyXml(bool enable) |
Notifier signal:
| void | prettyXmlChanged() |
Member Function Documentation
[since QXmpp 1.16, deprecated] void QXmppLogger::enablePrettyXml(bool enable = true)
This function is deprecated. We strongly advise against using it in new code.
Enables (enable) pretty-printing of Sent/Received XML stanzas, sets ColorAuto so ANSI escapes appear on a TTY and elides overly long messages.
This method is deprecated since QXmpp 1.17. Use setOutputMode(OutputMode::Pretty) instead, which does the same.
This function was introduced in QXmpp 1.16.
[since QXmpp 1.16, deprecated] bool QXmppLogger::prettyXml() const
This function is deprecated. We strongly advise against using it in new code.
Returns whether Sent/Received XML stanzas should be pretty-printed.
This method is deprecated since QXmpp 1.17. Use outputMode() instead.
Note: Getter function for property prettyXml.
This function was introduced in QXmpp 1.16.
See also setPrettyXml().
[since QXmpp 1.16, deprecated] void QXmppLogger::setPrettyXml(bool enable)
This function is deprecated. We strongly advise against using it in new code.
Sets whether Sent/Received XML stanzas should be pretty-printed (enable).
This method is deprecated since QXmpp 1.17. Use setOutputMode() instead.
Note: Setter function for property prettyXml.
This function was introduced in QXmpp 1.16.
See also prettyXml().