#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.
QValidator::State IPValidator::validate | ( | QString & | input | ) | const |
Validates the given input from position 0.
Definition at line 46 of file ipvalidator.cpp.
Referenced by ServicePage::valueChanged().