#include <IpValidator.h>
Public Member Functions | |
IpValidator (QObject *parent) | |
QValidator::State | validate (QString &input) const |
QValidator::State | validate (QString &input, int &pos) const |
Definition at line 23 of file IpValidator.h.
IpValidator::IpValidator | ( | QObject * | parent | ) |
Constructor.
Definition at line 29 of file IpValidator.cpp.
QValidator::State IpValidator::validate | ( | QString & | input, | |
int & | pos | |||
) | const |
Validates the given input is either a valid IP or a "*".
Definition at line 36 of file IpValidator.cpp.
References MATCH_ALL, and validate().
QValidator::State IpValidator::validate | ( | QString & | input | ) | const |
Validates the given input from position 0.
Definition at line 46 of file IpValidator.cpp.
Referenced by validate(), and ServicePage::valueChanged().