summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintdevice.qdoc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-09 20:31:15 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-09 20:31:15 (GMT)
commitdacee17e08c7fe9a7db33494758e7e8e3445228b (patch)
tree92cd7ebee6f7341ca94a11a489307db470f1ce74 /src/gui/painting/qpaintdevice.qdoc
parentd46b4208147ec01aba19c703f21954f068b4dc06 (diff)
downloadQt-dacee17e08c7fe9a7db33494758e7e8e3445228b.zip
Qt-dacee17e08c7fe9a7db33494758e7e8e3445228b.tar.gz
Qt-dacee17e08c7fe9a7db33494758e7e8e3445228b.tar.bz2
Doc: Fix warnings caused by deprecations.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/painting/qpaintdevice.qdoc')
-rw-r--r--src/gui/painting/qpaintdevice.qdoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintdevice.qdoc b/src/gui/painting/qpaintdevice.qdoc
index dca7e0e..6c0b04c 100644
--- a/src/gui/painting/qpaintdevice.qdoc
+++ b/src/gui/painting/qpaintdevice.qdoc
@@ -221,6 +221,18 @@
/*!
\fn int QPaintDevice::numColors() const
+ \deprecated
+
+ 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.
+*/
+
+/*!
+ \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