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