Debugging stream output for Tp::{Contact,ConnectionCapabilities}
@oggis
Submitted by Olli Salli Assigned to Telepathy bugs list
Description
There has been frustration with there being no generic human readable debug dump functionality in the rather information-intensive capabilities reporting classes of tp-qt, so I implemented that. See URL. Unfortunately I only had time to implement that for Contacts now, Connection one coming up later.
I made the output format multi-line, because there is so much information, although that's not very common with Qt debug operators. I don't see any other possibility.
Operator is found from Tp namespace thanks to Koenig lookup / ADL, and that's where it should be (not global, where it could collide with other implementations of the same thing, which likely exist).
I also made a small fix to CapabilitiesBase cross-linking, where I happened to notice an error.
Version: git master