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