- 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
ConstructorDescriptionFindChildOptions
(int value) Creates a new FindChildOptions with givenvalue
.FindChildOptions
(Qt.FindChildOption... args) Creates a new FindChildOptions where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.FindChildOptions
clone()
Clones the flagsfinal Qt.FindChildOptions
Combines this flags with enum entry.final int
compareTo
(Qt.FindChildOptions other) final Qt.FindChildOption[]
flags()
Returns an array of flag objects represented by this FindChildOptions.final Qt.FindChildOptions
Sets the flage
final Qt.FindChildOptions
setFlag
(Qt.FindChildOption e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FindChildOptions
Creates a new FindChildOptions where the flags inargs
are 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:
combined
in classQFlags<Qt.FindChildOption>
- Parameters:
e
- enum entry- Returns:
- new FindChildOptions
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<Qt.FindChildOption>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in 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:
flags
in classQFlags<Qt.FindChildOption>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<Qt.FindChildOption>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Qt.FindChildOptions>
-