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