diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-15 06:26:19 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-15 06:49:48 (GMT) |
commit | 8b568a5afd24ecb343b7508bf6b27b27af59b226 (patch) | |
tree | e792a660a9dac1c514ef31b29080e84907671871 /src/gui/util | |
parent | 1f73b205ec57be6327f62ef39099358425a7f0a8 (diff) | |
download | Qt-8b568a5afd24ecb343b7508bf6b27b27af59b226.zip Qt-8b568a5afd24ecb343b7508bf6b27b27af59b226.tar.gz Qt-8b568a5afd24ecb343b7508bf6b27b27af59b226.tar.bz2 |
qt_paint_device_metric() for fetching metrics
Custom window surfaces, graphics systems, and Qt/Embedded screen
drivers often need to access QPaintDevice::metric(), but it is
protected. Hence the growing number of friends in QWidget and
QImage. The qt_paint_device_metric() function provides a more
future-proof approach that doesn't require lots of friends.
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/util')
0 files changed, 0 insertions, 0 deletions