NicknameValidator Class Reference

#include <NicknameValidator.h>

List of all members.

Public Member Functions

 NicknameValidator (QObject *parent)
QValidator::State validate (QString &input, int &pos) const


Detailed Description

Definition at line 23 of file NicknameValidator.h.


Constructor & Destructor Documentation

NicknameValidator::NicknameValidator ( QObject *  parent  ) 

Constructor.

Definition at line 26 of file NicknameValidator.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Mon Aug 30 19:14:03 2010 for Vidalia by  doxygen 1.5.9