- 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
ConstructorsConstructorDescriptionCreates a new TextInteractionFlags.TextInteractionFlags(int value) Creates a new TextInteractionFlags with givenvalue.TextInteractionFlags(Qt.TextInteractionFlag ... args) Creates a new TextInteractionFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.TextInteractionFlagsclone()Clones the flagsfinal Qt.TextInteractionFlagsCombines this flags with enum entry.final intcompareTo(Qt.TextInteractionFlags other) final Qt.TextInteractionFlag []flags()Returns an array of flag objects represented by this TextInteractionFlags.final Qt.TextInteractionFlagsSets the flagefinal Qt.TextInteractionFlagssetFlag(Qt.TextInteractionFlag e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
TextInteractionFlags
public TextInteractionFlags()Creates a new TextInteractionFlags. -
TextInteractionFlags
Creates a new TextInteractionFlags where the flags inargsare 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:
combinedin classQFlags<Qt.TextInteractionFlag>- Parameters:
e- enum entry- Returns:
- new TextInteractionFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<Qt.TextInteractionFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<Qt.TextInteractionFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<Qt.TextInteractionFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<Qt.TextInteractionFlags>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-