- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FindChildOptions(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 Type Method Description Qt.FindChildOptions
clone()
Clones the flagsQt.FindChildOptions
combined(Qt.FindChildOption e)
Combines this flags with enum entry.int
compareTo(Qt.FindChildOptions other)
Qt.FindChildOption[]
flags()
Returns an array of flag objects represented by this FindChildOptions.Qt.FindChildOptions
setFlag(Qt.FindChildOption e)
Sets the flage
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>
-