Interface QLocalizationType
- All Known Subinterfaces:
QApplicationType, QCommandContextType
- All Known Implementing Classes:
QApplication, QCommandContext, QLocalization
public interface QLocalizationType
A simple interface to localize
QStringType values.-
Method Summary
Modifier and TypeMethodDescriptionformat(QStringType string, Object... arguments) Localize and format the given string.localize(QStringType string) Localize the given string.
-
Method Details
-
localize
Localize the given string.- Parameters:
string- The string- Returns:
- The string
-
format
Localize and format the given string. The localized string is treated as a format string, and formatted usingMessageFormat.- Parameters:
string- The stringarguments- The arguments- Returns:
- The string
-