- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QGeoRouteRequest.FeatureTypes>
- Enclosing class:
QGeoRouteRequest
public static final class QGeoRouteRequest.FeatureTypes
extends QFlags<QGeoRouteRequest.FeatureType>
implements Comparable<QGeoRouteRequest.FeatureTypes>
QFlags type for enum QGeoRouteRequest.FeatureType- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new FeatureTypes.FeatureTypes(int value) Creates a new FeatureTypes with givenvalue.FeatureTypes(QGeoRouteRequest.FeatureType ... args) Creates a new FeatureTypes where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QGeoRouteRequest.FeatureType []flags()Returns an array of flag objects represented by this FeatureTypes.Sets the flagesetFlag(QGeoRouteRequest.FeatureType e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
FeatureTypes
public FeatureTypes()Creates a new FeatureTypes. -
FeatureTypes
Creates a new FeatureTypes where the flags inargsare set.- Parameters:
args- enum entries
-
FeatureTypes
public FeatureTypes(int value) Creates a new FeatureTypes with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QGeoRouteRequest.FeatureType>- Parameters:
e- enum entry- Returns:
- new FeatureTypes
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QGeoRouteRequest.FeatureType>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QGeoRouteRequest.FeatureType>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this FeatureTypes.- Overrides:
flagsin classQFlags<QGeoRouteRequest.FeatureType>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QGeoRouteRequest.FeatureType>
-
compareTo
- Specified by:
compareToin interfaceComparable<QGeoRouteRequest.FeatureTypes>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-