- 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:
-
Constructor Summary
ConstructorDescriptionTextInteractionFlags
(int value) Creates a new TextInteractionFlags with givenvalue
.Creates a new TextInteractionFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.TextInteractionFlags
clone()
Clones the flagsfinal Qt.TextInteractionFlags
Combines this flags with enum entry.final int
compareTo
(Qt.TextInteractionFlags other) final Qt.TextInteractionFlag[]
flags()
Returns an array of flag objects represented by this TextInteractionFlags.final Qt.TextInteractionFlags
Sets the flage
final 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>
-