QtGui/qtextdocumentwriter.h Source File
Go to the documentation of this file.
41 #ifndef QTEXTDOCUMENTWRITER_H
42 #define QTEXTDOCUMENTWRITER_H
52 class QTextDocumentWriterPrivate;
66 void setFormat (
const QByteArray &format);
67 QByteArray
format ()
const;
70 QIODevice *
device ()
const;
74 bool write(
const QTextDocument *document);
75 bool write(
const QTextDocumentFragment &fragment);
77 #ifndef QT_NO_TEXTCODEC
85 Q_DISABLE_COPY(QTextDocumentWriter)
86 QTextDocumentWriterPrivate *d;
void setFileName(const QString &fileName)
QIODevice * device() const
void setFormat(const QByteArray &format)
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format
bool write(const QTextDocument *document)
static QList< QByteArray > supportedDocumentFormats()
QTextCodec * codec() const
void setCodec(QTextCodec *codec)
void setDevice(QIODevice *device)