- 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:
-
Constructor Summary
ConstructorsConstructorDescriptionFeatures()Creates a new Features.Features(int value) Creates a new Features with givenvalue.Features(QMediaServiceProviderHint.Feature ... args) Creates a new Features where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QMediaServiceProviderHint.Feature []flags()Returns an array of flag objects represented by this Features.Sets the flagesetFlag(QMediaServiceProviderHint.Feature 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
-
Features
public Features()Creates a new Features. -
Features
Creates a new Features where the flags inargsare set.- Parameters:
args- enum entries
-
Features
public Features(int value) Creates a new Features with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QMediaServiceProviderHint.Feature>- Parameters:
e- enum entry- Returns:
- new Features
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QMediaServiceProviderHint.Feature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QMediaServiceProviderHint.Feature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QMediaServiceProviderHint.Features>
-
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
-