java.lang.Object
io.qt.QFlags<QGeoServiceProvider.GeocodingFeature>
io.qt.location.QGeoServiceProvider.GeocodingFeatures
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGeoServiceProvider.GeocodingFeatures>
- Enclosing class:
- QGeoServiceProvider
public static final class QGeoServiceProvider.GeocodingFeatures
extends QFlags<QGeoServiceProvider.GeocodingFeature>
implements Comparable<QGeoServiceProvider.GeocodingFeatures>
QFlags type for enum
QGeoServiceProvider.GeocodingFeature
- See Also:
-
Constructor Summary
ConstructorDescriptionGeocodingFeatures
(int value) Creates a new GeocodingFeatures with givenvalue
.Creates a new GeocodingFeatures 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 GeocodingFeatures.Sets the flage
setFlag
(QGeoServiceProvider.GeocodingFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
GeocodingFeatures
Creates a new GeocodingFeatures where the flags inargs
are set.- Parameters:
args
- enum entries
-
GeocodingFeatures
public GeocodingFeatures(int value) Creates a new GeocodingFeatures with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QGeoServiceProvider.GeocodingFeature>
- Parameters:
e
- enum entry- Returns:
- new GeocodingFeatures
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QGeoServiceProvider.GeocodingFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QGeoServiceProvider.GeocodingFeatures setFlag(QGeoServiceProvider.GeocodingFeature e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGeoServiceProvider.GeocodingFeature>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this GeocodingFeatures.- Overrides:
flags
in classQFlags<QGeoServiceProvider.GeocodingFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGeoServiceProvider.GeocodingFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGeoServiceProvider.GeocodingFeatures>
-