Document obsolete functions in QImage to silence qdoc errors.
Change-Id: I78f3335e5c088641c56d5e682425c7e4b26b7d3e Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
a39e78710d
commit
48955161b4
@ -5769,4 +5769,48 @@ QDebug operator<<(QDebug dbg, const QImage &i)
|
|||||||
}
|
}
|
||||||
#endif
|
#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
|
QT_END_NAMESPACE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user