summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimage.cpp
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2012-08-21 15:24:28 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 16:53:00 +0200
commit48955161b47b1dbcb97a906a726dae9cc6d78c06 (patch)
tree2f2a0677498346584dde077b7d79140530d856c7 /src/gui/image/qimage.cpp
parenta39e78710dd613aea8770d158a7f5f02fe199e18 (diff)
Document obsolete functions in QImage to silence qdoc errors.
Change-Id: I78f3335e5c088641c56d5e682425c7e4b26b7d3e Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/image/qimage.cpp')
-rw-r--r--src/gui/image/qimage.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index ae760a4173..ef184c0a78 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -5769,4 +5769,48 @@ QDebug operator<<(QDebug dbg, const QImage &i)
}
#endif
+/*!
+ \fn void QImage::setNumColors(int n)
+ \obsolete
+
+ Resizes the color table to contain \a n entries.
+
+ \sa setColorCount()
+ */
+
+/*!
+ \fn int QImage::numBytes() const
+ \obsolete
+
+ Returns the number of bytes occupied by the image data.
+
+ \sa byteCount()
+ */
+
+/*!
+ \fn QStringList QImage::textLanguages() const
+ \obsolete
+
+ Returns the language identifiers for which some texts are recorded.
+ Note that if you want to iterate over the list, you should iterate over a copy.
+
+ The language the text is recorded in is no longer relevant since the text is
+ always set using QString and UTF-8 representation.
+
+ \sa textKeys()
+ */
+
+/*!
+ \fn QList<QImageTextKeyLang> QImage::textList() const
+ \obsolete
+
+ Returns a list of QImageTextKeyLang objects that enumerate all the texts
+ key/language pairs set for this image.
+
+ The language the text is recorded in is no longer relevant since the text
+ is always set using QString and UTF-8 representation.
+
+ \sa textKeys()
+ */
+
QT_END_NAMESPACE