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