[docs] Document QDBusObjectPath QDebug stream operator
Amends c89b1bbddc73b044762cabc67c1e5063a6ffee86. [ChangeLog][QtDBus][QDBusObjectPath] Added QDebug stream operator. Change-Id: I677bef4be07e8138448d1c4bad6d590d607a0161 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> (cherry picked from commit 648e3c730afb3c4d15e4f08580d641e54836d88d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f54e50e513
commit
1a833d82f4
@ -13,6 +13,11 @@ QT_IMPL_METATYPE_EXTERN(QDBusObjectPath)
|
||||
QT_IMPL_METATYPE_EXTERN(QDBusSignature)
|
||||
|
||||
#ifndef QT_NO_DEBUG_STREAM
|
||||
/*!
|
||||
\fn QDebug QDBusObjectPath::operator<<(QDebug dbg, const QDBusObjectPath &path)
|
||||
\since 6.8
|
||||
Writes the contents of \a path to \a dbg.
|
||||
*/
|
||||
QDebug operator<<(QDebug dbg, const QDBusObjectPath &path)
|
||||
{
|
||||
QDebugStateSaver saver(dbg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user