6 #ifndef CUTELYSTVALIDATORCHARNOTALLOWED_H
7 #define CUTELYSTVALIDATORCHARNOTALLOWED_H
9 #include <Cutelyst/cutelyst_global.h>
10 #include "validatorrule.h"
14 class ValidatorCharNotAllowedPrivate;
60 static bool validate(
const QString &value,
const QString &forbiddenChars,
QChar *foundChar =
nullptr);
Validates an input field for not allowed characters.
Base class for all validator rules.
The Cutelyst namespace holds all public Cutelyst API.
Stores custom error messages and the input field label.
Contains the result of a single input parameter validation.