#include <CQValidator.h>
List of all members.
Public Member Functions |
| CQValidator (Type *parent, QString(Type::*retrieve)(void) const, const char *name=0) |
virtual State | validate (QString &input, int &) const |
virtual State | revalidate () |
virtual void | saved () const |
virtual void | force (const QString &input) const |
Protected Member Functions |
State | setColor (const State &state) const |
Protected Attributes |
Type * | mpContainer |
QString(Type::* | mRetrieve )(void) const |
QString | mLastAccepted |
template<typename Type>
class CQValidator< Type >
Constructor & Destructor Documentation
template<typename Type>
CQValidator< Type >::CQValidator |
( |
Type * |
parent, |
|
|
QString(Type::*)(void) const |
retrieve, |
|
|
const char * |
name = 0 |
|
) |
| [inline] |
Member Function Documentation
template<typename Type>
virtual void CQValidator< Type >::force |
( |
const QString & |
input | ) |
const [inline, virtual] |
template<typename Type>
virtual State CQValidator< Type >::revalidate |
( |
| ) |
[inline, virtual] |
template<typename Type>
virtual void CQValidator< Type >::saved |
( |
| ) |
const [inline, virtual] |
template<typename Type>
State CQValidator< Type >::setColor |
( |
const State & |
state | ) |
const [inline, protected] |
template<typename Type>
virtual State CQValidator< Type >::validate |
( |
QString & |
input, |
|
|
int & |
|
|
) |
| const [inline, virtual] |
Member Data Documentation
Method to retrieve the content of the container as a QString
The documentation for this class was generated from the following file: