- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QVideoFilterRunnable.RunFlags>
- Enclosing class:
QVideoFilterRunnable
public static final class QVideoFilterRunnable.RunFlags
extends QFlags<QVideoFilterRunnable.RunFlag>
implements Comparable<QVideoFilterRunnable.RunFlags>
QFlags type for enum QVideoFilterRunnable.RunFlag- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunFlags()Creates a new RunFlags.RunFlags(int value) Creates a new RunFlags with givenvalue.RunFlags(QVideoFilterRunnable.RunFlag ... args) Creates a new RunFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QVideoFilterRunnable.RunFlag []flags()Returns an array of flag objects represented by this RunFlags.Sets the flagesetFlag(QVideoFilterRunnable.RunFlag 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
-
RunFlags
public RunFlags()Creates a new RunFlags. -
RunFlags
Creates a new RunFlags where the flags inargsare set.- Parameters:
args- enum entries
-
RunFlags
public RunFlags(int value) Creates a new RunFlags with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QVideoFilterRunnable.RunFlag>- Parameters:
e- enum entry- Returns:
- new RunFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QVideoFilterRunnable.RunFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QVideoFilterRunnable.RunFlag>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this RunFlags.- Overrides:
flagsin classQFlags<QVideoFilterRunnable.RunFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QVideoFilterRunnable.RunFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QVideoFilterRunnable.RunFlags>
-
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
-