QtGui/qimagewriter.h Source File
Go to the documentation of this file.
42 #ifndef QIMAGEWRITER_H
43 #define QIMAGEWRITER_H
58 class QImageWriterPrivate;
65 UnsupportedFormatError
76 void setDevice(QIODevice *device);
77 QIODevice *device()
const;
79 void setFileName(
const QString &fileName);
82 void setQuality(
int quality);
85 void setCompression(
int compression);
86 int compression()
const;
88 void setGamma(
float gamma);
92 void setDescription(
const QString &description);
97 bool canWrite()
const;
98 bool write(
const QImage &
image);
100 ImageWriterError error()
const;
108 Q_DISABLE_COPY(QImageWriter)
109 QImageWriterPrivate *d;
116 #endif // QIMAGEWRITER_H
GLenum GLsizei GLenum GLenum const GLvoid * image
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format