Obsolete Members for QRegExpValidator
The following members of class QRegExpValidator are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
| ||QRegExpValidator(QObject * parent, const char * name)|
| ||QRegExpValidator(const QRegExp & rx, QObject * parent, const char * name)|
Member Function Documentation
QRegExpValidator::QRegExpValidator(QObject * parent, const char * name)
Constructs a validator with a parent object and name that accepts any string (including an empty one) as valid.
Constructs a validator with a parent object and a name that accepts all strings that match the regular expression rx.
The match is made against the entire string; e.g. if the regexp is [A-Fa-f0-9]+ it will be treated as ^[A-Fa-f0-9]+$.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.