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