- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Qt.ScreenOrientations>
- Enclosing class:
- Qt
public static final class Qt.ScreenOrientations extends QFlags<Qt.ScreenOrientation> implements Comparable<Qt.ScreenOrientations>
QFlags type for enum
Qt.ScreenOrientation
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ScreenOrientations(int value)
Creates a new ScreenOrientations with givenvalue
.ScreenOrientations(Qt.ScreenOrientation... args)
Creates a new ScreenOrientations where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description Qt.ScreenOrientations
clone()
Clones the flagsQt.ScreenOrientations
combined(Qt.ScreenOrientation e)
Combines this flags with enum entry.int
compareTo(Qt.ScreenOrientations other)
Qt.ScreenOrientation[]
flags()
Returns an array of flag objects represented by this ScreenOrientations.Qt.ScreenOrientations
setFlag(Qt.ScreenOrientation e)
Sets the flage
Qt.ScreenOrientations
setFlag(Qt.ScreenOrientation e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
ScreenOrientations
Creates a new ScreenOrientations where the flags inargs
are set.- Parameters:
args
- enum entries
-
ScreenOrientations
public ScreenOrientations(int value)Creates a new ScreenOrientations with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<Qt.ScreenOrientation>
- Parameters:
e
- enum entry- Returns:
- new ScreenOrientations
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<Qt.ScreenOrientation>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<Qt.ScreenOrientation>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ScreenOrientations.- Overrides:
flags
in classQFlags<Qt.ScreenOrientation>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<Qt.ScreenOrientation>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Qt.ScreenOrientations>
-