7#include "languageinfo.h"
12using namespace TextGrammarCheck;
14LanguageInfo::LanguageInfo() =
default;
16LanguageInfo::~LanguageInfo() =
default;
18QString LanguageInfo::name()
const
23void LanguageInfo::setName(
const QString &name)
28QString LanguageInfo::longCode()
const
33void LanguageInfo::setLongCode(
const QString &longCode)
38QString LanguageInfo::code()
const
43void LanguageInfo::setCode(
const QString &code)
48bool LanguageInfo::isValid()
const
56 mName = obj[
"name"_L1].toString();
57 mCode = obj[
"code"_L1].toString();
58 mLongCode = obj[
"longCode"_L1].toString();
61bool LanguageInfo::operator==(
const LanguageInfo &other)
const
63 return mName == other.name() && mCode == other.code() && mLongCode == other.longCode();
QString name(GameStandardAction id)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.