9#include "texttranslator_export.h"
14namespace TextTranslator
16class TEXTTRANSLATOR_EXPORT TranslatorUtil
21 struct TranslatorSettings {
96 [[nodiscard]]
static QString loadEngine();
97 static void saveEngineSettings(
const QString &engineName);
98 [[nodiscard]]
static QString groupTranslateName();
99 [[nodiscard]]
static QString engineTranslateName();
100 [[nodiscard]]
static QString defaultEngineName();
101 [[nodiscard]]
static QString translatedLanguage(TranslatorUtil::Language lang);
102 [[nodiscard]]
static QString languageCode(TranslatorUtil::Language lang);
103 [[nodiscard]]
static QString searchI18nFromLanguage(
const QString &langCode);
104 [[nodiscard]]
static TranslatorUtil::Language stringToLanguage(
const QString &str);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.