| openPilotLog

atranslator.h
1 #ifndef ATRANSLATOR_H
2 #define ATRANSLATOR_H
3 #include "src/opl.h"
4
18 class ATranslator : public QObject {
19 Q_OBJECT
20 public:
24 static void installTranslator(Opl::Translations language = Opl::Translations::English);
25
26 private:
27 static QTranslator *translator;
28 };
29
30 #endif // ATRANSLATOR_H
ATranslator
The ATranslator class is responsible for managing the QTranslator used for providing localisations....
Definition: atranslator.h:18
ATranslator::installTranslator
static void installTranslator(Opl::Translations language=Opl::Translations::English)
Installs a QTranslator with the selected language. Defaults to English. Call this function before con...
Definition: atranslator.cpp:5