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