KItinerary
nameoptimizer.cpp
36 if (person.givenName() == p.givenName() && (person.familyName().size() + person.givenName().size()) == 19 && person.givenName().size() >= 3) {
124 if (nameLen > 0 && c1 == QLatin1Char(' ') && (i + nameLen + 1) < text.size() && isSameChar(text.at(i+nameLen+1).toCaseFolded(), c2)) {
129 // mismatch: check if the remainder is a name prefix (yes, those also occur frequently as suffixes of name parts in IATA BCBP for example)
173 if (!prop.isStored() || prop.isEnumType()|| (!subMo && prop.userType() != QMetaType::QVariant)) {
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
QStringView betterString(QStringView lhs, QStringView rhs)
Assuming both sides are describing the same thing, this tries to find the "better" string.
Definition stringutil.cpp:79
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
Canonical
QString decomposition(char32_t ucs4)
Decomposition decompositionTag(char32_t ucs4)
bool isLetter(char32_t ucs4)
char32_t toCaseFolded(char32_t ucs4)
QVariant
const QMetaObject * metaObject() const const
CaseInsensitiveOption
QString escape(QStringView str)
const QChar at(qsizetype position) const const
qsizetype size() const const
QStringView left(qsizetype length) const const
QStringView mid(qsizetype start, qsizetype length) const const
bool endsWith(QChar ch) const const
qsizetype size() const const
QString toString() const const
QStringView trimmed() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.