diff options
author | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2014-11-10 11:17:28 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-01-18 19:59:27 +0100 |
commit | b2883a6acc7a8d8372a815cc91dd1a8449f25723 (patch) | |
tree | 79a8284b7d18306f71daf9a27ee4b2d588c787f5 /src/plugins/platforms/xcb/qxlibconvenience.h | |
parent | b8e46fce5c70c399c615e1b846076f379db173c5 (diff) |
Add QDebug support for NSObject and a few selected CoreFoundation types
Lets us print out the interface name in addition to the address when
doing:
qDebug() << myNSObject;
Unfortunately, CFTypeRef is just a typedef to void*, so we can't add a
generic overload for CFTypeRef. For now, we provide operators for
commonly used Core Foundation and Core Graphics types. Additional
types may be added using Q_DECLARE_QDEBUG_OPERATOR_FOR_CF_TYPE.
Change-Id: I27b12ef9e62cb1be348b9771cb31657692903f6c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxlibconvenience.h')
0 files changed, 0 insertions, 0 deletions