Geometrize  1.0
An application for geometrizing images into geometric primitives
Namespaces | Functions
localization.h File Reference
#include <QLocale>
#include <QString>
#include <QStringList>

Go to the source code of this file.

Namespaces

 geometrize
 

Functions

QString geometrize::getBinaryTranslationFileExtension ()
 getBinaryTranslationFileExtension Gets the file extension for Qt binary translation files. More...
 
QString geometrize::getAppTranslationResourceDirectory ()
 getAppTranslationResourceDirectory Gets the resource path where translation files specific to the app are stored. More...
 
QString geometrize::getQtTranslationResourceDirectory ()
 getQtTranslationResourceDirectory Gets the resource path where translation files for Qt itself are stored. More...
 
void geometrize::setTranslatorsForLocale (const QString &locale)
 installTranslatorsForLocale Installs translators for the application. More...
 
QIcon geometrize::getFlagIconForLocaleCode (const QString &localeCode)
 getFlagIconForLocaleCode Gets a representative national flag for the given locale code. More...
 
QLocale geometrize::getGlobalPreferencesLocale ()
 getGlobalPreferencesLocale Gets a QLocale instance based on the current settings in global preferences. Note that if the string violates the locale format, the "C" locale is used instead. More...
 
void geometrize::setGlobalPreferencesForLocale (const QLocale &locale)
 setGlobalPreferencesForLocale Sets the locale settings based on the given locale name. More...
 
QStringList geometrize::getSupportedLocaleCodes ()
 getSupportedLocaleCodes Iterates over the embedded .qm files and extracts the ISO language codes from their filenames More...
 
void geometrize::setLocaleAndUserInterfaceLanguage (const QString &isoCode)
 setLocaleAndUserInterfaceLanguage Sets the application locale and user interface language to the given language code More...