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:
-
Constructor Summary
ConstructorDescriptionCaptureDestinations
(int value) Creates a new CaptureDestinations with givenvalue
.Creates a new CaptureDestinations where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this CaptureDestinations.Sets the flage
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>
-