- 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:
-
Constructor Summary
ConstructorDescriptionImageConversionFlags
(int value) Creates a new ImageConversionFlags with givenvalue
.Creates a new ImageConversionFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.ImageConversionFlags
clone()
Clones the flagsfinal Qt.ImageConversionFlags
Combines this flags with enum entry.final int
compareTo
(Qt.ImageConversionFlags other) final Qt.ImageConversionFlag[]
flags()
Returns an array of flag objects represented by this ImageConversionFlags.final Qt.ImageConversionFlags
Sets the flage
final 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>
-