KI18n
klocalizedqmlcontext.cpp
28void KLocalizedQmlContextPrivate::markCurrentFunctionAsTranslationBinding(const KLocalizedQmlContext *q) const
159 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
185 trMessage = ki18ndc(d->m_translationDomain.toUtf8().constData(), context.toUtf8().constData(), message.toUtf8().constData());
190 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
216 trMessage = ki18ndp(d->m_translationDomain.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
222 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
250 ki18ndcp(d->m_translationDomain.toUtf8().constData(), context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
252 trMessage = ki18ncp(context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
256 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
282 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
307 KLocalizedString trMessage = ki18ndc(domain.toUtf8().constData(), context.toUtf8().constData(), message.toUtf8().constData());
309 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
334 KLocalizedString trMessage = ki18ndp(domain.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
337 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
364 ki18ndcp(domain.toUtf8().constData(), context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
367 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
399 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
425 trMessage = kxi18ndc(d->m_translationDomain.toUtf8().constData(), context.toUtf8().constData(), message.toUtf8().constData());
430 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
456 trMessage = kxi18ndp(d->m_translationDomain.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
462 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
490 kxi18ndcp(d->m_translationDomain.toUtf8().constData(), context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
492 trMessage = kxi18ncp(context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
496 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
520 KLocalizedString trMessage = kxi18nd(domain.toUtf8().constData(), message.toUtf8().constData());
522 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
547 KLocalizedString trMessage = kxi18ndc(domain.toUtf8().constData(), context.toUtf8().constData(), message.toUtf8().constData());
549 resolveMessage(trMessage, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10);
574 KLocalizedString trMessage = kxi18ndp(domain.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
577 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
604 kxi18ndcp(domain.toUtf8().constData(), context.toUtf8().constData(), singular.toUtf8().constData(), plural.toUtf8().constData());
607 resolveMessage(trMessage, param2, param3, param4, param5, param6, param7, param8, param9, param10);
This class is meant to be used to simplify integration of the KI18n framework in QML.
Definition klocalizedqmlcontext.h:58
QString translationDomain
This property only needs to be specified if the context is being run on a library.
Definition klocalizedqmlcontext.h:66
Class for producing and handling localized messages.
Definition klocalizedstring.h:45
KLocalizedString subs(int a, int fieldWidth=0, int base=10, QChar fillChar=QLatin1Char(' ')) const
Substitute an int argument into the message.
Definition klocalizedstring.cpp:1084
const char * constData() const const
QCoreApplication * instance()
LanguageChange
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QString
Q_EMITQ_EMIT
virtual bool event(QEvent *e)
virtual bool eventFilter(QObject *watched, QEvent *event)
void installEventFilter(QObject *filterObj)
void setContextObject(QObject *object)
void retranslate()
QQmlContext * rootContext() const const
void setContextForObject(QObject *object, QQmlContext *context)
bool isEmpty() const const
QByteArray toUtf8() const const
QueuedConnection
bool canConvert() const const
bool isValid() const const
QChar toChar() const const
double toDouble(bool *ok) const const
int toInt(bool *ok) const const
QString toString() const const
int userType() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.