diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-23 13:39:14 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-23 13:39:14 (GMT) |
commit | 1e5a471645ea8c91b0a2dc0fe019f15fdc5f9127 (patch) | |
tree | 29612be76a53dcaafc98deb49e615c4512aa11ca /src/gui/image | |
parent | d713d4e588543957ea4b4d9f2dc546be2b036928 (diff) | |
download | Qt-1e5a471645ea8c91b0a2dc0fe019f15fdc5f9127.zip Qt-1e5a471645ea8c91b0a2dc0fe019f15fdc5f9127.tar.gz Qt-1e5a471645ea8c91b0a2dc0fe019f15fdc5f9127.tar.bz2 |
Doc: Small update to QImageReader/Writer::supportedImageFomrmats()
Task-number: QTBUG-14440
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qimagereader.cpp | 3 | ||||
-rw-r--r-- | src/gui/image/qimagewriter.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index 1fa1058..e7b1000 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -1482,6 +1482,9 @@ QByteArray QImageReader::imageFormat(QIODevice *device) configure script or check the appropriate option in the graphical installer. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageWriter::supportedImageFormats(), QImageIOPlugin */ QList<QByteArray> QImageReader::supportedImageFormats() diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index 8a65ac0..504260a 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -679,6 +679,9 @@ bool QImageWriter::supportsOption(QImageIOHandler::ImageOption option) const Reading and writing SVG files is supported through Qt's \l{QtSvg Module}{SVG Module}. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageReader::supportedImageFormats(), QImageIOPlugin */ QList<QByteArray> QImageWriter::supportedImageFormats() |