#include <QY2CharValidator.h>
Public Member Functions | |
QY2CharValidator (const QString &initialValidChars, QObject *parent=0, const char *name=0) | |
~QY2CharValidator () | |
virtual State | validate (QString &input, int &pos) const |
void | setValidChars (const QString &newValidChars) |
QString | validChars () const |
Protected Attributes | |
QString | _validChars |
|
Constructor. Create a validator object that checks for input characters being any one of 'validChars'. If this is empty, any input is accepted. |
|
Destructor. |
|
Set the valid input characters. If 'newValidChars' is empty, any input is accepted. |
|
Check user input. Reimplemented from QValidator. |
|
Retrieve the valid input characters. |
|
|