#include <nicknamevalidator.h>
Public Member Functions | |
NicknameValidator (QObject *parent) | |
QValidator::State | validate (QString &input, int &pos) const |
Definition at line 34 of file nicknamevalidator.h.
NicknameValidator::NicknameValidator | ( | QObject * | parent | ) |
Constructor.
Definition at line 37 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 45 of file nicknamevalidator.cpp.
References ensure_valid_chars(), and VALID_NICKNAME_CHARS.