6 #ifndef CUTELYSTVALIDATORCHARNOTALLOWED_H 7 #define CUTELYSTVALIDATORCHARNOTALLOWED_H 9 #include "validatorrule.h" 13 class ValidatorCharNotAllowedPrivate;
68 static std::optional<QChar> validate(
const QString &value,
const QString &forbiddenChars);
110 #endif // CUTELYSTVALIDATORCHARNOTALLOWED_H Stores custom error messages and the input field label.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Validates an input field for not allowed characters.
std::function< void(ValidatorReturnType &&result)> ValidatorRtFn
Void callback function for validator rules that processes the ValidatorReturnType.
Contains the result of a single input parameter validation.