5 #ifndef CUTELYSTVALIDATORALPHADASH_H 6 #define CUTELYSTVALIDATORALPHADASH_H 8 #include "validatorrule.h" 10 #include <Cutelyst/cutelyst_global.h> 14 class ValidatorAlphaDashPrivate;
56 bool asciiOnly =
false,
72 static bool validate(
const QString &value,
bool asciiOnly =
false);
96 #endif // CUTELYSTVALIDATORALPHADASH_H Stores custom error messages and the input field label.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Checks a value for only alpha-numeric content and dashes and underscores.
Contains the result of a single input parameter validation.