Ki18n
|
Typedefs | |
typedef QString(* | TagFormatter )(const QString &tagName, const QHash &attributes, const QString &text, const QStringList &tagPath, KUIT::VisualFormat format) |
Enumerations | |
enum | VisualFormat { UndefinedFormat = 0, PlainText = 10, RichText = 20, TermText = 30 } |
enum | TagClass { PhraseTag = 0, StructTag = 1 } |
Functions | |
KUITSetup & | setupForCatalog (const QString &domain) |
Global constants and functions related to KUIT markup.
typedef QString(* KUIT::TagFormatter)(const QString &tagName, const QHash &attributes, const QString &text, const QStringList &tagPath, KUIT::VisualFormat format) |
Functions accepted by tag formatting functions.
tagName | the wrapping tag name |
attributes | the attribute name-value pairs in the tag |
text | the wrapped text |
tagPath | the ordered list of ancestor tag names, parent first |
format | the target visual format |
enum KUIT::VisualFormat |
Visual formats into which KUIT markup can be resolved.
UndefinedFormat |
Visual format not defined. This value can be explicitly set (e.g. through |
PlainText |
Plain text. |
RichText |
Qt rich text (HTML subset). |
TermText |
Terminal escape sequences. |
enum KUIT::TagClass |
Classification of KUIT tags.