KLocalization Namespace
Namespace containing helpers for localization. More...
| Header: | #include <KLocalization> | 
| CMake: | find_package(KF6 REQUIRED COMPONENTS I18n)target_link_libraries(mytarget PRIVATE KF6::I18nQml) | 
Functions
| (since 6.5)void | retranslateSpinBoxFormatString(T *spinBox) | 
| (since 6.8)KLocalizedQmlContext * | setupLocalizedContext(QQmlEngine *engine) | 
| (since 6.5)void | setupSpinBoxFormatString(T *spinBox, const KLocalizedString &formatString) | 
Detailed Description
Function Documentation
[since 6.8] KLocalizedQmlContext *setupLocalizedContext(QQmlEngine *engine)
Creates a KLocalizedQmlContext engine and sets it up in the root context of engine.
If TRANSLATION_DOMAIN is defined, that is also set on the created context.
This function was introduced in 6.8.