77 CheckDNS = CheckARecord | CheckAAAARecord
80 Q_DECLARE_FLAGS(Options, Option)
93 Options options = NoOption,
95 const QString &defValKey = {});
114 static bool validate(
const QString &value,
116 QString *extractedValue =
nullptr);
128 validateCb(
const QString &value,
130 std::function<
void(
Diagnose diagnose,
const QString &extractedValue)> cb);
140 static QString diagnoseString(
const Context *c,
Diagnose diagnose,
const QString &label = {});
167 QString genericValidationError(
Context *c,
168 const QVariant &errorData = QVariant())
const override;
Checks if the value of the input field contains a FQDN according to RFC 1035.
Option
Options for the domain validation.
~ValidatorDomain() override
Diagnose
Possible diagnose information for the checked domain.