- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DropActions(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 Type Method Description Qt.DropActions
clone()
Clones the flagsQt.DropActions
combined(Qt.DropAction e)
Combines this flags with enum entry.int
compareTo(Qt.DropActions other)
Qt.DropAction[]
flags()
Returns an array of flag objects represented by this DropActions.Qt.DropActions
setFlag(Qt.DropAction e)
Sets the flage
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>
-