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