This class represents a single text codec The codec has a name and contains methods to create encoder...
Definition textcodec.h:38
QString name()
Definition textcodec.h:45
TextCodec(const QString &name, const QTextCodec *codec, QTextCodec::ConversionFlags flags)
The default constructs for a textcodec.
Definition textcodec.cpp:78
QTextEncoder * makeEncoder()
Creates a QTextEncoder.
Definition textcodec.cpp:93
QTextDecoder * makeDecoder()
Creates a QTextDecodec.
Definition textcodec.cpp:100
const QTextCodec * codec()
Returns the QTextCodec reference.
Definition textcodec.cpp:87
QList< TextCodec * > codecList()
Returns the list with all codecs.
Definition textcodec.cpp:56
TextCodecManager()
The codecmanager constructs This method registeres all codecs available in Qt.
Definition textcodec.cpp:15
TextCodec * codecForName(const QString &name)
Returns the given codec for the given name.
Definition textcodec.cpp:65
void giveTextCodec(TextCodec *codec)
Registers the given codec. The ownership of this codec is transfered to the codec manager.
Definition textcodec.cpp:48