summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbbackingstore.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2014-11-10 11:17:28 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2015-01-18 19:59:27 +0100
commitb2883a6acc7a8d8372a815cc91dd1a8449f25723 (patch)
tree79a8284b7d18306f71daf9a27ee4b2d588c787f5 /src/plugins/platforms/xcb/qxcbbackingstore.cpp
parentb8e46fce5c70c399c615e1b846076f379db173c5 (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/qxcbbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions