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