# openPilotLog: src/classes/atranslator.h Source File

atranslator.h
#ifndef ATRANSLATOR_H
#define ATRANSLATOR_H
#include "src/opl.h"
class ATranslator : public QObject {
Q_OBJECT
public:
static void installTranslator(Opl::Translations language = Opl::Translations::English);
private:
static QTranslator *translator;
};
#endif // ATRANSLATOR_H
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
ATranslator
The ATranslator class is responsible for managing the QTranslator used for providing localisations....
Definition: atranslator.h:18