1 #ifndef TRANSLATABLEAPP_H 2 #define TRANSLATABLEAPP_H 3 #include <QApplication> 44 #endif // TRANSLATABLEAPP_H void createTranslators(QStringList languages)
createTranslators Loads the translations of the app-
Definition: translatableapp.cpp:11
void swithLanguage(QString languaje)
swithLanguage Changes the current app language.
Definition: translatableapp.cpp:20
QMap< QString, QTranslator * > translators
translators Map with all of app languages.
Definition: translatableapp.h:36
TranslatableApp(int &argc, char **argv)
TranslatableApp constructor.
Definition: translatableapp.cpp:6
QTranslator * currentLanguaje
currentLanguaje Language of the app.
Definition: translatableapp.h:41
The TranslatableApp class.
Definition: translatableapp.h:8