Vidalia 0.3.1
|
#include <NicknameValidator.h>
Public Member Functions | |
NicknameValidator (QObject *parent) | |
QValidator::State | validate (QString &input, int &pos) const |
Definition at line 22 of file NicknameValidator.h.
NicknameValidator::NicknameValidator | ( | QObject * | parent | ) |
Constructor.
Definition at line 25 of file NicknameValidator.cpp.
QValidator::State NicknameValidator::validate | ( | QString & | input, |
int & | pos | ||
) | const |
Validates the given input at the specified position.
Validates the given input contains only valid nickname characters starting at the specified position.
Definition at line 33 of file NicknameValidator.cpp.
References ensure_valid_chars(), and VALID_NICKNAME_CHARS.