openPilotLog
atranslator.h
1
#ifndef ATRANSLATOR_H
2
#define ATRANSLATOR_H
3
#include "src/opl.h"
4
12
class
ATranslator
:
public
QObject {
13
Q_OBJECT
14
public
:
18
static
void
installTranslator
(Opl::Translations language = Opl::Translations::English);
19
20
private
:
21
static
QTranslator *translator;
22
};
23
24
#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:11
ATranslator
The ATranslator class is responsible for managing the QTranslator used for providing localisations....
Definition:
atranslator.h:12
src
classes
atranslator.h
Generated by
1.8.18