Documents > BPS V2 C++ API
BpsMaskValidator Class Reference

This class implements the BPS mask validator for input text. More...

#include <bpsmaskvalidator.h>

List of all members.

Public Member Functions

 BpsMaskValidator (QObject *aParent)
 BpsMaskValidator (const QString &aMask, QObject *aParent)
QString mask () const
int maxLength () const
 Returns the maximum input length (including fillers)
int minLength () const
 Returns the minimum input length (including fillers)
void setMask (const QString &aMask)
 Set the new mask.

Detailed Description

This class implements the BPS mask validator for input text.

It is derived from QValidator.

See also:
BpsMaskProcessor

Constructor & Destructor Documentation

BpsMaskValidator::BpsMaskValidator ( QObject *  aParent)
Parameters:
[in]aParentThe parent object.
BpsMaskValidator::BpsMaskValidator ( const QString &  aMask,
QObject *  aParent 
)
Parameters:
[in]aMaskThe mask.
[in]aParentThe parent object.

Member Function Documentation

QString BpsMaskValidator::mask ( ) const
Returns:
The current mask.
void BpsMaskValidator::setMask ( const QString &  aMask)

Set the new mask.

Parameters:
[in]aMaskThe new mask to set

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