Libkleo
validation.cpp
73std::shared_ptr<QValidator> regularExpressionValidator(Validation::Flags flags, const QString ®exp)
76 return std::make_shared<TrimmingValidator<QRegularExpressionValidator>>(QRegularExpression{regexp});
78 return std::make_shared<TrimmingValidator<EmptyIsAcceptableValidator<QRegularExpressionValidator>>>(QRegularExpression{regexp});
118 return MultiValidator::create({simpleName(flags), regularExpressionValidator(flags, additionalRegExp)});
KCODECS_EXPORT bool isValidSimpleAddress(const QString &aStr)
bool isEmpty() const const
QString trimmed() const const
State
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.