[kdecore Index] [kdecore Hierarchy] [Headers]
KDE charset support class More...
#include <kcharsets.h>
KDE Multiple charset support
This class gives information about available charsets and converts charsets' names to Qt identifiers
[public]
Construct a KCharsets class
[public]
Destructor
[public]
Returns default charset
This charset is one in witch keyboard input is made
[public]
Sets default charset
ch | charset to be set as default |
[public]
Returns available charsets list
Available charsets are these, between which we can make conversions
[public]
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
face | Font family we want display text in |
[public]
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
face | Font family we want display text in |
[public]
Returns registered charsets list
Only registered charsets can be legally used in mail and news messages and on WWW pages.
[public]
Is the charset available
charset | charset name |
[public]
Is the charset displayable in given font family
charset | charset name |
face | font family name |
[public]
Is the charset displayable in given font family
charset | charset name |
[public]
Is the charset registered
charset | charset name |
[public]
Retruns data bits needed to represent character in charset
For UTF7 and UTF8 charsets it returns 8, but some charsets may need more bits.
charset | charset name |
[public]
Returns Qt charset identifier
charset | charset name |
[public]
Returns Qt charset identifier for default font
[public]
Sets QFont object to given charsets
This function can change font face when necessary. It is a workaround for Qt not supporting some charsets
fnt | font object |
charset | charset name |
[public]
Sets QFont object to default charsets
This function can change font face when necessary. It is a workaround for Qt not supporting some charsets
fnt | font object |
[public]
Returns charset name of given charset identifier
qtcharset | Qt charset identifier |
[public]
Returns charset of given charset identifier
qtcharset | Qt charset identifier |
[public]
Returns charset name of given QFont object
font | QFont object |
[public]
Returns charset of given QFont object
font | QFont object |
[public]
Returns charset of given X name object
xName | X charset name |
[public]
Unicode to displayable character conversion
Currently works only for characters in output charset
code | Unicode represantation of character |
[public]
Character tag to displayable character conversion
Useful for converting HTML entities, but not only Currently it works only for characters in output charset
tag | character tag or whole amp-sequence |
| Kdoc |