diff options
author | Martin Smith <msmith@trolltech.com> | 2009-11-13 09:18:35 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-11-13 09:19:23 (GMT) |
commit | c94bca6bb7414cd96ced9cb4f7a34164a65159aa (patch) | |
tree | a88e1d3e889b9988f6409475805ccaa3a89ea687 /src/gui/painting/qpaintdevice.qdoc | |
parent | e287f1b01dd50106f58967861a1c272b248d450a (diff) | |
download | Qt-c94bca6bb7414cd96ced9cb4f7a34164a65159aa.zip Qt-c94bca6bb7414cd96ced9cb4f7a34164a65159aa.tar.gz Qt-c94bca6bb7414cd96ced9cb4f7a34164a65159aa.tar.bz2 |
doc: Changed numColors() to colorCount() in the doc.
Diffstat (limited to 'src/gui/painting/qpaintdevice.qdoc')
-rw-r--r-- | src/gui/painting/qpaintdevice.qdoc | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/src/gui/painting/qpaintdevice.qdoc b/src/gui/painting/qpaintdevice.qdoc index 6c0b04c..f661bf7 100644 --- a/src/gui/painting/qpaintdevice.qdoc +++ b/src/gui/painting/qpaintdevice.qdoc @@ -83,7 +83,7 @@ inch. The physicalDpiX() and physicalDpiY() functions also return the resolution of the device in dots per inch, but note that if the logical and vertical resolution differ, the corresponding - QPaintEngine must handle the mapping. Finally, the numColors() + QPaintEngine must handle the mapping. Finally, the colorCount() function returns the number of different colors available for the paint device. @@ -111,7 +111,7 @@ also heightMM(). \value PdmNumColors The number of different colors available for - the paint device. See also numColors(). + the paint device. See also colorCount(). \value PdmDepth The bit depth (number of bit planes) of the paint device. See also depth(). @@ -234,10 +234,23 @@ /*! \fn int QPaintDevice::colorCount() const + \obsolete + + Use colorCount() instead. + Returns the number of different colors available for the paint - device. Since this value is an int, it will not be sufficient to represent - the number of colors on 32 bit displays, in this case INT_MAX is - returned instead. + device. Since this value is an int, it will not be sufficient to + represent the number of colors on 32 bit displays, in this case + INT_MAX is returned instead. +*/ + +/*! + \fn int QPaintDevice::colorCount() const + + Returns the number of different colors available for the paint + device. Since this value is an int, it will not be sufficient to + represent the number of colors on 32 bit displays, in this case + INT_MAX is returned instead. */ /*! |