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