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