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