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);
87 QString genericValidationError(
Context *c,
const QVariant &errorData = QVariant())
const override;
92 QString genericValidationDataError(
Context *c,
const QVariant &errorData = QVariant())
const override;
101 #endif // CUTELYSTVALIDATORCHARNOTALLOWED_H