![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
Use another constructor instead.
For example, if you have code like
QRegExp rx("*.txt", false, true);
you can rewrite it as
QRegExp rx("*.txt", Qt::CaseInsensitive, QRegExp::Wildcard);
Use caseSensitivity() instead.
Use isMinimal() instead.
Use indexIn() instead.
Use lastIndexIn() instead.
Use setCaseSensitivity() instead.
Use setPatternSyntax() instead.
For example, if you have code like
rx.setWildcard(wc);
you can rewrite it as
rx.setPatternSyntax(wc ? QRegExp::Wildcard : QRegExp::RegExp);
Use patternSyntax() instead.
For example, if you have code like
bool wc = rx.wildcard();
you can rewrite it as
bool wc = (rx.patternSyntax() == QRegExp::Wildcard);
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0-b2 |