|
|
| KCharsets () |
Construct a KCharsets class
| ~KCharsets () |
Destructor
| KCharset defaultCh () |
Returns default charset
This charset is one in witch keyboard input is made
Returns: default charset
See also: setDefault
| bool setDefault (KCharset ch) |
Sets default charset
Parameters:
| ch | charset to be set as default |
| QStrList available () |
Returns available charsets list
Available charsets are these, between which we can make conversions
Returns: list of available charsets
See also: isAvailable
| QStrList displayable (const char *face) |
Returns displayable charsets list for given font family
display charsets are these, which can be set to QFont. There is workaround for 8-bit charsets not directly supported by Qt 1.31
Parameters:
| face | Font family we want display text in |
Returns: list of displayable charsets
See also: isDisplayable
| QStrList displayable () |
Returns displayable charsets list
display charsets are these, which can be set to QFont. There is workaround for 8-bit charsets not directly supported by Qt 1.31
Parameters:
| face | Font family we want display text in |
Returns: list of displayable charsets
See also: isDisplayable
| QStrList registered () |
Returns registered charsets list
Only registered charsets can be legally used in mail and news messages and on WWW pages.
Returns: list of registered charsets
See also: isRegistered
| bool isAvailable (KCharset charset) |
Is the charset available
Parameters:
| charset | charset name |
Returns: TRUE if the charset is available
See also: available
| bool isDisplayable (KCharset charset,const char *face) |
Is the charset displayable in given font family
Parameters:
| face | font family name |
| charset | charset name |
Returns: TRUE if the charset is displayable
See also: displayable
| bool isDisplayable (KCharset charset) |
Is the charset displayable in given font family
Parameters:
| charset | charset name |
Returns: TRUE if the charset is displayable
See also: displayable
| bool isRegistered (KCharset charset) |
Is the charset registered
Parameters:
| charset | charset name |
Returns: TRUE if the charset is registered
See also: registered
| int bits (KCharset charset) |
Retruns data bits needed to represent character in charset
For UTF7 and UTF8 charsets it returns 8, but some charsets may need more bits.
Parameters:
| charset | charset name |
Returns: bits count
| QFont::CharSet qtCharset (KCharset charset) |
Returns Qt charset identifier
Parameters:
| charset | charset name |
Returns: Qt charset identifier
| QFont::CharSet qtCharset () |
Returns Qt charset identifier for default font
Returns: Qt charset identifier
| QFont & setQFont (QFont &fnt,KCharset charset) |
Sets QFont object to given charsets
This function can change font face when necessary. It is a workaround for Qt not supporting some charsets
Parameters:
| fnt | font object |
| charset | charset name |
Returns: the same font object
| QFont & setQFont (QFont &fnt) |
Sets QFont object to default charsets
This function can change font face when necessary. It is a workaround for Qt not supporting some charsets
Parameters:
| fnt | font object |
Returns: the same font object
| const char * name (QFont::CharSet qtcharset) |
Returns charset name of given charset identifier
Parameters:
| qtcharset | Qt charset identifier |
Returns: charset name
| KCharset charset (QFont::CharSet qtcharset) |
Returns charset of given charset identifier
Parameters:
| qtcharset | Qt charset identifier |
Returns: charset object
| const char * name (const QFont& font) |
Returns charset name of given QFont object
Parameters:
| font | QFont object |
Returns: charset name
| KCharset charset (const QFont& font) |
Returns charset of given QFont object
Parameters:
| font | QFont object |
Returns: charset object
| KCharset charsetFromX (const QString& xName) |
Returns charset of given X name object
Parameters:
| xName | X charset name |
Returns: charset object
| const KCharsetConversionResult & convert (unsigned code) |
Unicode to displayable character conversion
Currently works only for characters in output charset
Parameters:
| code | Unicode represantation of character |
| const KCharsetConversionResult & convertTag (const char *tag) |
Character tag to displayable character conversion
Useful for converting HTML entities, but not only Currently it works only for characters in output charset
Parameters:
| tag | character tag or whole amp-sequence |
| Generated by: bhcompile@stripples.devel.redhat.com on Thu Jul 26 13:37:38 200. |