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