GrantleeTheme::GrantleeKi18nLocalizer
#include <grantleeki18nlocalizer.h>
Public Member Functions | |
QString | currentLocale () const override |
QString | localizeContextString (const QString &string, const QString &context, const QVariantList &arguments) const override |
QString | localizeMonetaryValue (qreal value, const QString ¤tCode) const override |
QString | localizePluralContextString (const QString &string, const QString &pluralForm, const QString &context, const QVariantList &arguments) const override |
QString | localizePluralString (const QString &string, const QString &pluralForm, const QVariantList &arguments) const override |
QString | localizeString (const QString &string, const QVariantList &arguments) const override |
void | setApplicationDomain (const QByteArray &domain) |
Public Member Functions inherited from KTextTemplate::QtLocalizer | |
QtLocalizer (const QLocale &locale=QLocale::system()) | |
QString | currentLocale () const override |
void | installTranslator (QTranslator *translator, const QString &localeName=QLocale::system().name()) |
void | loadCatalog (const QString &path, const QString &catalog) override |
QString | localizeContextString (const QString &string, const QString &context, const QVariantList &arguments={}) const override |
QString | localizeDate (const QDate &date, QLocale::FormatType formatType=QLocale::ShortFormat) const override |
QString | localizeDateTime (const QDateTime &dateTime, QLocale::FormatType formatType=QLocale::ShortFormat) const override |
QString | localizeMonetaryValue (qreal value, const QString ¤cyCode={}) const override |
QString | localizeNumber (int number) const override |
QString | localizeNumber (qreal number) const override |
QString | localizePluralContextString (const QString &string, const QString &pluralForm, const QString &context, const QVariantList &arguments={}) const override |
QString | localizePluralString (const QString &string, const QString &pluralForm, const QVariantList &arguments={}) const override |
QString | localizeString (const QString &string, const QVariantList &arguments={}) const override |
QString | localizeTime (const QTime &time, QLocale::FormatType formatType=QLocale::ShortFormat) const override |
void | popLocale () override |
void | pushLocale (const QString &localeName) override |
void | setAppTranslatorPath (const QString &path) |
void | setAppTranslatorPrefix (const QString &prefix) |
void | unloadCatalog (const QString &catalog) override |
Public Member Functions inherited from KTextTemplate::AbstractLocalizer | |
virtual QString | localize (const QVariant &variant) const |
Detailed Description
The GrantleeKi18nLocalizer class.
Definition at line 22 of file grantleeki18nlocalizer.h.
Constructor & Destructor Documentation
◆ GrantleeKi18nLocalizer()
|
explicit |
Definition at line 17 of file grantleeki18nlocalizer.cpp.
Member Function Documentation
◆ currentLocale()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 101 of file grantleeki18nlocalizer.cpp.
◆ localizeContextString()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 69 of file grantleeki18nlocalizer.cpp.
◆ localizeMonetaryValue()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 96 of file grantleeki18nlocalizer.cpp.
◆ localizePluralContextString()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 81 of file grantleeki18nlocalizer.cpp.
◆ localizePluralString()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 90 of file grantleeki18nlocalizer.cpp.
◆ localizeString()
|
nodiscardoverridevirtual |
Implements KTextTemplate::AbstractLocalizer.
Definition at line 75 of file grantleeki18nlocalizer.cpp.
◆ setApplicationDomain()
void GrantleeKi18nLocalizer::setApplicationDomain | ( | const QByteArray & | domain | ) |
Definition at line 111 of file grantleeki18nlocalizer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.