19 #ifndef CUTELYSTVALIDATORCHARNOTALLOWED_H 20 #define CUTELYSTVALIDATORCHARNOTALLOWED_H 22 #include <Cutelyst/cutelyst_global.h> 23 #include "validatorrule.h" 27 class ValidatorCharNotAllowedPrivate;
73 static bool validate(
const QString &value,
const QString &forbiddenChars,
QChar *foundChar =
nullptr);
101 #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.
Contains the result of a single input parameter validation.