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