#include <constraint.h>
Inheritance diagram for RegexConstraint:


Public Member Functions | ||||
| RegexConstraint (QString regexp) | ||||
| RegexConstraint (QRegExp qr) | ||||
| bool | accepts (QVariant val) const | |||
| ||||
| QString | toString () const | |||
| ||||
Protected Member Functions | ||||
| RegexConstraint () | ||||
| We only permit derived classes to use default ctor, with the understanding that the derived types will also make sure the m_RegExp has been set properly. | ||||
Protected Attributes | ||||
| QRegExp | m_RegExp | |||
Definition at line 67 of file constraint.h.
| bool RegexConstraint::accepts | ( | QVariant | val | ) | const [inline, virtual] |
| value | the value to check the constraint against |
Reimplemented from Constraint.
Reimplemented in EnumConstraint.
Definition at line 76 of file constraint.h.
1.5.1