|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QRegExp.PatternSyntax>
com.trolltech.qt.core.QRegExp.PatternSyntax
public static enum QRegExp.PatternSyntax
The syntax used to interpret the meaning of the pattern.
Enum Constant Summary | |
---|---|
FixedString
The pattern is a fixed string. |
|
RegExp
A rich Perl-like pattern matching syntax. |
|
RegExp2
Like RegExp, but with greedy quantifiers. |
|
Wildcard
This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for "file globbing". |
Method Summary | |
---|---|
static QRegExp.PatternSyntax |
resolve(int value)
|
int |
value()
|
static QRegExp.PatternSyntax |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QRegExp.PatternSyntax[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QRegExp.PatternSyntax RegExp
A rich Perl-like pattern matching syntax. This is the default.
public static final QRegExp.PatternSyntax Wildcard
This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for "file globbing". See Wildcard Matching.
public static final QRegExp.PatternSyntax FixedString
The pattern is a fixed string. This is equivalent to using the RegExp pattern on a string in which all metacharacters are escaped using escape.
public static final QRegExp.PatternSyntax RegExp2
Like RegExp, but with greedy quantifiers. This will be the default in Qt 5. (Introduced in Qt 4.2.)
Method Detail |
---|
public static final QRegExp.PatternSyntax[] values()
for(QRegExp.PatternSyntax c : QRegExp.PatternSyntax.values()) System.out.println(c);
public static QRegExp.PatternSyntax valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QRegExp.PatternSyntax resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |