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