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