8Translator::Translator() =
default;
10Translator::~Translator() =
default;
12void Translator::parse(
const QJsonObject &obj,
bool remote)
27QString Translator::shortName()
const
32bool Translator::operator==(
const Translator &other)
const
34 return mShortName == other.mShortName && mModelName == other.mModelName && mSource == other.mSource && mTarget == other.mTarget
35 && mCheckSum == other.mCheckSum && mRepository == other.mRepository && mUrl == other.mUrl && mType == other.mType && mVersion == other.mVersion
36 && mApi == other.mApi && mRemote == other.mRemote;
39bool Translator::remote()
const
44void Translator::setRemote(
bool newRemote)
49void Translator::setShortName(
const QString &newShortName)
51 mShortName = newShortName;
54QString Translator::modelName()
const
59void Translator::setModelName(
const QString &newModelName)
61 mModelName = newModelName;
64QString Translator::source()
const
69void Translator::setSource(
const QString &newSource)
74QString Translator::checkSum()
const
79void Translator::setCheckSum(
const QString &newCheckSum)
81 mCheckSum = newCheckSum;
84QString Translator::target()
const
89void Translator::setTarget(
const QString &newTarget)
94int Translator::version()
const
99void Translator::setVersion(
int newVersion)
101 mVersion = newVersion;
104int Translator::api()
const
109void Translator::setApi(
int newApi)
119void Translator::setUrl(
const QString &newUrl)
124QString Translator::repository()
const
129void Translator::setRepository(
const QString &newRepository)
131 mRepository = newRepository;
134QString Translator::type()
const
139void Translator::setType(
const QString &newType)
144bool Translator::isValid()
const
155 d <<
"mShortName " << t.shortName();
156 d <<
"mModelName " << t.modelName();
157 d <<
"mSource " << t.source();
158 d <<
"mTarget " << t.target();
159 d <<
"mCheckSum " << t.checkSum();
160 d <<
"mRepository " << t.repository();
161 d <<
"mUrl " << t.url();
162 d <<
"mType " << t.type();
163 d <<
"mVersion " << t.version();
164 d <<
"mApi " << t.api();
165 d <<
"mRemote " << t.remote();
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:03 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.