Vidalia
0.3.1
|
#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 22 of file IpValidator.h.
IpValidator::IpValidator | ( | QObject * | parent | ) |
Constructor.
Definition at line 28 of file IpValidator.cpp.
QValidator::State IpValidator::validate | ( | QString & | input | ) | const |
Validates the given input from position 0.
Definition at line 45 of file IpValidator.cpp.
Referenced by ServicePage::valueChanged().
QValidator::State IpValidator::validate | ( | QString & | input, |
int & | pos | ||
) | const |
Validates the given input is either a valid IP or a "*".
Definition at line 35 of file IpValidator.cpp.
References MATCH_ALL.