- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ManeuverDetails(int value)
Creates a new ManeuverDetails with givenvalue
.ManeuverDetails(QGeoRouteRequest.ManeuverDetail... args)
Creates a new ManeuverDetails where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QGeoRouteRequest.ManeuverDetails
clone()
Clones the flagsQGeoRouteRequest.ManeuverDetails
combined(QGeoRouteRequest.ManeuverDetail e)
Combines this flags with enum entry.int
compareTo(QGeoRouteRequest.ManeuverDetails other)
QGeoRouteRequest.ManeuverDetail[]
flags()
Returns an array of flag objects represented by this ManeuverDetails.QGeoRouteRequest.ManeuverDetails
setFlag(QGeoRouteRequest.ManeuverDetail e)
Sets the flage
QGeoRouteRequest.ManeuverDetails
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>
-