- 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:
-
Constructor Summary
ConstructorDescriptionInputMethodHints
(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 TypeMethodDescriptionfinal Qt.InputMethodHints
clone()
Clones the flagsfinal Qt.InputMethodHints
Combines this flags with enum entry.final int
compareTo
(Qt.InputMethodHints other) final Qt.InputMethodHint[]
flags()
Returns an array of flag objects represented by this InputMethodHints.final Qt.InputMethodHints
Sets the flage
final 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>
-