KTextTemplate
qtlocalizer.h
83 void installTranslator(QTranslator *translator, const QString &localeName = QLocale::system().name());
94 QString localizeDate(const QDate &date, QLocale::FormatType formatType = QLocale::ShortFormat) const override;
95 QString localizeTime(const QTime &time, QLocale::FormatType formatType = QLocale::ShortFormat) const override;
96 QString localizeDateTime(const QDateTime &dateTime, QLocale::FormatType formatType = QLocale::ShortFormat) const override;
97 QString localizeString(const QString &string, const QVariantList &arguments = {}) const override;
98 QString localizeContextString(const QString &string, const QString &context, const QVariantList &arguments = {}) const override;
100 localizePluralContextString(const QString &string, const QString &pluralForm, const QString &context, const QVariantList &arguments = {}) const override;
Interface for implementing an internationalization system.
Definition abstractlocalizer.h:35
Provides internationalization based on QLocale and QTranslator.
Definition qtlocalizer.h:47
The KTextTemplate namespace holds all public KTextTemplate API.
Definition Mainpage.dox:8
FormatType
QLocale system()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.