From 48955161b47b1dbcb97a906a726dae9cc6d78c06 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Tue, 21 Aug 2012 15:24:28 +0200 Subject: Document obsolete functions in QImage to silence qdoc errors. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I78f3335e5c088641c56d5e682425c7e4b26b7d3e Reviewed-by: Samuel Rødal --- src/gui/image/qimage.cpp | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'src/gui/image') 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 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 -- cgit v1.2.3