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