|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.Qt.MatchFlag
public static final class Qt.MatchFlag
This enum describes the type of matches that can be used when searching for items in a model.
Field Summary | |
---|---|
static Qt.MatchFlag |
MatchCaseSensitive
The search is case sensitive. |
static Qt.MatchFlag |
MatchContains
The search term is contained in the item. |
static Qt.MatchFlag |
MatchEndsWith
The search term matches the end of the item. |
static Qt.MatchFlag |
MatchExactly
Performs QVariant -based matching. |
static Qt.MatchFlag |
MatchFixedString
Performs string-based matching. |
static Qt.MatchFlag |
MatchRecursive
Searches the entire hierarchy. |
static Qt.MatchFlag |
MatchRegExp
Performs string-based matching using a regular expression as the search term. |
static Qt.MatchFlag |
MatchStartsWith
The search term matches the start of the item. |
static Qt.MatchFlag |
MatchWildcard
Performs string-based matching using a string with wildcards as the search term. |
static 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. |
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)
|
static Qt.MatchFlag[] |
values()
|
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 |
Field Detail |
---|
public static final Qt.MatchFlag MatchExactly
QVariant
-based matching.
public static final Qt.MatchFlag MatchContains
public static final Qt.MatchFlag MatchStartsWith
public static final Qt.MatchFlag MatchEndsWith
public static final Qt.MatchFlag MatchRegExp
public static final Qt.MatchFlag MatchWildcard
public static final Qt.MatchFlag MatchFixedString
public static final Qt.MatchFlag MatchCaseSensitive
public static final Qt.MatchFlag MatchWrap
public static final Qt.MatchFlag MatchRecursive
Method Detail |
---|
public static Qt.MatchFlag[] values()
public static Qt.MatchFlag valueOf(java.lang.String name)
public int value()
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 | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |