Method |
Description |
|
AvailableEncodingNames ( ) : List |
Lists all available encodings as names. |
|
CodecForName ( string name ) : QTextCodec |
Provided for compatibility. name="name" the name of the codec |
|
CodecForName ( string n, bool ok ) : QTextCodec |
Tries to find a QTextCodec to convert the given encoding from and to Unicode. If no codec could be found, the ISO 8859-1 codec will be returned an and ok will be set to false. name="ok" true if a matching codec has been found, false if not |
|
DescriptionForEncoding ( string encoding ) : string |
@brief Returns a long description for an encoding name. name="encoding" the encoding for the language |
|
DescriptiveEncodingNames ( ) : List |
Lists the available encoding names together with a more descriptive language. |
|
Dispose ( ) : void |
|
|
EncodingForName ( string descriptiveName ) : string |
Returns the encoding for a string obtained with descriptiveEncodingNames(). name="descriptiveName" the descriptive name for the encoding |
|
EncodingsByScript ( ) : List> |
Lists the available encoding names grouped by script (or language that uses them). |
|
FromEntity ( string str ) : QChar |
@brief Converts an entity to a character. The string must contain only the entity without the trailing ';'. name="str" the entity |
|
FromEntity ( string str, int &len ) : QChar |
Overloaded member function. Tries to find an entity in the string str. name="str" the string containing entified name="len" is a return value, that gives the length of the decoded entity. |
|
ResolveEntities ( string text ) : string |
Scans the given string for entities (like &) and resolves them using fromEntity. name="text" the string containing the entities |
|
ToEntity ( QChar ch ) : string |
Converts a QChar to an entity. The returned string does already contain the leading '&' and the trailing ';'. name="ch" the char to convert |
|