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