QTsciiCodec Class
Header: | #include <QTsciiCodec> |
Inherits: | QTextCodec |
Public Functions
virtual | ~QTsciiCodec() |
Reimplemented Public Functions
virtual QByteArray | convertFromUnicode(const QChar *uc, int len, ConverterState *state) const override |
virtual QString | convertToUnicode(const char *chars, int len, ConverterState *state) const override |
virtual int | mibEnum() const override |
virtual QByteArray | name() const override |
Detailed Description
\inmodule
QtCore5Compat \reentrant
\internal
Member Function Documentation
[virtual noexcept]
QTsciiCodec::~QTsciiCodec()
Destroys the text codec object.
[override virtual]
QByteArray QTsciiCodec::convertFromUnicode(const QChar *uc, int len, ConverterState *state) const
Reimplements: QTextCodec::convertFromUnicode(const QChar *input, int number, ConverterState *state) const.
Converts the first len characters in uc from Unicode to this encoding, and returns the result in a byte array. The state contains some conversion flags, and is used by the codec to maintain state information.
[override virtual]
QString QTsciiCodec::convertToUnicode(const char *chars, int len, ConverterState *state) const
Reimplements: QTextCodec::convertToUnicode(const char *chars, int len, ConverterState *state) const.
Converts the first len characters in chars from this encoding to Unicode, and returns the result in a QString. The state contains some conversion flags, and is used by the codec to maintain state information.
[override virtual]
int QTsciiCodec::mibEnum() const
Reimplements: QTextCodec::mibEnum() const.
Returns the MIB enum for the encoding.
See also QTextCodec::mibEnum().
[override virtual]
QByteArray QTsciiCodec::name() const
Reimplements: QTextCodec::name() const.
Returns the official name for the encoding that is handled by the codec.
See also QTextCodec::name().