QTextCodec

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

ConversionFlags
alias ConversionFlags = QFlags!(ConversionFlag)
Undocumented in source.

Enums

ConversionFlag
enum ConversionFlag
Undocumented in source.

Functions

aliases
QList!(QByteArray) aliases()
Undocumented in source.
canEncode
bool canEncode(QChar )
Undocumented in source.
canEncode
bool canEncode(const(QString) )
Undocumented in source.
canEncode
bool canEncode(QStringView )
Undocumented in source.
convertFromUnicode
QByteArray convertFromUnicode(const(QChar)* in_, int length, ConverterState* state)
Undocumented in source.
convertToUnicode
QString convertToUnicode(const(char)* in_, int length, ConverterState* state)
Undocumented in source.
fromUnicode
QByteArray fromUnicode(const(QString) uc)
Undocumented in source.
fromUnicode
QByteArray fromUnicode(QStringView uc)
Undocumented in source.
fromUnicode
QByteArray fromUnicode(const(QChar)* in_, int length, ConverterState* state)
Undocumented in source. Be warned that the author may not have intended to support it.
makeDecoder
QTextDecoder* makeDecoder(ConversionFlags flags)
Undocumented in source.
makeEncoder
QTextEncoder* makeEncoder(ConversionFlags flags)
Undocumented in source.
mibEnum
int mibEnum()
Undocumented in source.
name
QByteArray name()
Undocumented in source.
toUnicode
QString toUnicode(const(QByteArray) )
Undocumented in source.
toUnicode
QString toUnicode(const(char)* chars)
Undocumented in source.
toUnicode
QString toUnicode(const(char)* in_, int length, ConverterState* state)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

availableCodecs
QList!(QByteArray) availableCodecs()
Undocumented in source.
availableMibs
QList!(int) availableMibs()
Undocumented in source.
codecForHtml
QTextCodec codecForHtml(const(QByteArray) ba)
Undocumented in source.
codecForHtml
QTextCodec codecForHtml(const(QByteArray) ba, QTextCodec defaultCodec)
Undocumented in source.
codecForLocale
QTextCodec codecForLocale()
Undocumented in source.
codecForMib
QTextCodec codecForMib(int mib)
Undocumented in source.
codecForName
QTextCodec codecForName(const(QByteArray) name)
Undocumented in source.
codecForName
QTextCodec codecForName(const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.
codecForUtfText
QTextCodec codecForUtfText(const(QByteArray) ba)
Undocumented in source.
codecForUtfText
QTextCodec codecForUtfText(const(QByteArray) ba, QTextCodec defaultCodec)
Undocumented in source.
setCodecForLocale
void setCodecForLocale(QTextCodec c)
Undocumented in source.

Structs

ConverterState
struct ConverterState
Undocumented in source.

Meta