- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Qt.FindChildOptions>
- Enclosing class:
Qt
public static final class Qt.FindChildOptions
extends QFlags<Qt.FindChildOption>
implements Comparable<Qt.FindChildOptions>
QFlags type for enum Qt.FindChildOption- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new FindChildOptions.FindChildOptions(int value) Creates a new FindChildOptions with givenvalue.FindChildOptions(Qt.FindChildOption ... args) Creates a new FindChildOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.FindChildOptionsclone()Clones the flagsfinal Qt.FindChildOptionsCombines this flags with enum entry.final intcompareTo(Qt.FindChildOptions other) final Qt.FindChildOption []flags()Returns an array of flag objects represented by this FindChildOptions.final Qt.FindChildOptionsSets the flagefinal Qt.FindChildOptionssetFlag(Qt.FindChildOption e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
FindChildOptions
public FindChildOptions()Creates a new FindChildOptions. -
FindChildOptions
Creates a new FindChildOptions where the flags inargsare set.- Parameters:
args- enum entries
-
FindChildOptions
public FindChildOptions(int value) Creates a new FindChildOptions with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<Qt.FindChildOption>- Parameters:
e- enum entry- Returns:
- new FindChildOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<Qt.FindChildOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<Qt.FindChildOption>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this FindChildOptions.- Overrides:
flagsin classQFlags<Qt.FindChildOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<Qt.FindChildOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<Qt.FindChildOptions>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-