scanned-image-extractor/module_misc/translation.h

24 lines
486 B
C
Raw Normal View History

2024-01-29 23:24:37 +00:00
#ifndef TRANSLATION_H
#define TRANSLATION_H
#include <QTranslator>
#include <QString>
namespace MiscTools
{
class Translation
{
Translation();
public:
static QTranslator* getTranslator(const QString& locale,
const QStringList& projPaths,
const QString& filename);
static void setDefaultLocale(const QString& locale);
};
} // namespace MiscTools
#endif // TRANSLATION_H