QTextDocumentWriter Class Reference

QTextDocumentWriter Class Reference

#include <qtextdocumentwriter.h>

Class Description

Definition at line 58 of file qtextdocumentwriter.h.

Public Member Functions

 QTextDocumentWriter ()
 
 QTextDocumentWriter (QIODevice *device, const QByteArray &format)
 
 QTextDocumentWriter (const QString &fileName, const QByteArray &format=QByteArray())
 
 ~QTextDocumentWriter ()
 
void setFormat (const QByteArray &format)
 
QByteArray format () const
 
void setDevice (QIODevice *device)
 
QIODevicedevice () const
 
void setFileName (const QString &fileName)
 
QString fileName () const
 
bool write (const QTextDocument *document)
 
bool write (const QTextDocumentFragment &fragment)
 
void setCodec (QTextCodec *codec)
 
QTextCodeccodec () const
 

Static Public Member Functions

static QList< QByteArraysupportedDocumentFormats ()
 

Constructor & Destructor Documentation

QTextDocumentWriter ( QIODevice device,
const QByteArray format 
)
QTextDocumentWriter ( const QString fileName,
const QByteArray format = QByteArray() 
)

Member Function Documentation

void setFormat ( const QByteArray format)
QByteArray format ( ) const
void setDevice ( QIODevice device)
QIODevice* device ( ) const
void setFileName ( const QString fileName)
QString fileName ( ) const
bool write ( const QTextDocument document)
bool write ( const QTextDocumentFragment fragment)
void setCodec ( QTextCodec codec)
QTextCodec* codec ( ) const
static QList<QByteArray> supportedDocumentFormats ( )
static

The documentation for this class was generated from the following file: