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