|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Qt.MatchFlag>
com.trolltech.qt.core.Qt.MatchFlag
public static enum Qt.MatchFlag
This enum describes the type of matches that can be used when searching for items in a model.
Enum Constant Summary | |
---|---|
MatchCaseSensitive
The search is case sensitive. |
|
MatchContains
The search term is contained in the item. |
|
MatchEndsWith
The search term matches the end of the item. |
|
MatchExactly
Performs QVariant-based matching. |
|
MatchFixedString
Performs string-based matching. |
|
MatchRecursive
Searches the entire hierarchy. |
|
MatchRegExp
Performs string-based matching using a regular expression as the search term. |
|
MatchStartsWith
The search term matches the start of the item. |
|
MatchWildcard
Performs string-based matching using a string with wildcards as the search term. |
|
MatchWrap
Perform a search that wraps around, so that when the search reaches the last item in the model, it begins again at the first item and continues until all items have been examined. |
Method Summary | |
---|---|
static Qt.MatchFlags |
createQFlags(Qt.MatchFlag... values)
|
static Qt.MatchFlag |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.MatchFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Qt.MatchFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Qt.MatchFlag MatchExactly
Performs QVariant-based matching.
public static final Qt.MatchFlag MatchContains
The search term is contained in the item.
public static final Qt.MatchFlag MatchStartsWith
The search term matches the start of the item.
public static final Qt.MatchFlag MatchEndsWith
The search term matches the end of the item.
public static final Qt.MatchFlag MatchRegExp
Performs string-based matching using a regular expression as the search term.
public static final Qt.MatchFlag MatchWildcard
Performs string-based matching using a string with wildcards as the search term.
public static final Qt.MatchFlag MatchFixedString
Performs string-based matching. String-based comparisons are case-insensitive unless the MatchCaseSensitive flag is also specified.
public static final Qt.MatchFlag MatchCaseSensitive
The search is case sensitive.
public static final Qt.MatchFlag MatchWrap
Perform a search that wraps around, so that when the search reaches the last item in the model, it begins again at the first item and continues until all items have been examined.
public static final Qt.MatchFlag MatchRecursive
Searches the entire hierarchy.
Method Detail |
---|
public static Qt.MatchFlag[] values()
for (Qt.MatchFlag c : Qt.MatchFlag.values()) System.out.println(c);
public static Qt.MatchFlag 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static Qt.MatchFlags createQFlags(Qt.MatchFlag... values)
public static Qt.MatchFlag resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |