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