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