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