18 #ifndef CUTELYSTVALIDATORDIGITS_H 19 #define CUTELYSTVALIDATORDIGITS_H 21 #include <Cutelyst/cutelyst_global.h> 22 #include "validatorrule.h" 26 class ValidatorDigitsPrivate;
75 static bool validate(
const QString &value,
int length = -1);
99 #endif //CUTELYSTVALIDATORDIGITS_H Checks for digits only with optional length check.
Stores custom error messages and the input field label.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Contains the result of a single input parameter validation.