This class represents a single text codec The codec has a name and contains methods to create encoders and decoders.
More...
#include <textcodec.h>
|
| TextCodec (const QString &name, const QTextCodec *codec, QTextCodec::ConversionFlags flags) |
| The default constructs for a textcodec.
|
|
const QTextCodec * | codec () |
| Returns the QTextCodec reference.
|
|
QTextEncoder * | makeEncoder () |
| Creates a QTextEncoder.
|
|
QTextDecoder * | makeDecoder () |
| Creates a QTextDecodec.
|
|
QString | name () |
|
This class represents a single text codec The codec has a name and contains methods to create encoders and decoders.
◆ TextCodec()
edbee::TextCodec::TextCodec |
( |
const QString & | name, |
|
|
const QTextCodec * | codec, |
|
|
QTextCodec::ConversionFlags | flags ) |
The default constructs for a textcodec.
- Parameters
-
name | the name of the codec |
codec | the Qt codec to reference |
the | QTextCodec conversion flags (is used for creating codecs with and without BOM) |
◆ codec()
const QTextCodec * edbee::TextCodec::codec |
( |
| ) |
|
Returns the QTextCodec reference.
◆ makeDecoder()
QTextDecoder * edbee::TextCodec::makeDecoder |
( |
| ) |
|
◆ makeEncoder()
QTextEncoder * edbee::TextCodec::makeEncoder |
( |
| ) |
|
◆ name()
QString edbee::TextCodec::name |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: