- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UserInputResolutionOptions(int value)
Creates a new UserInputResolutionOptions with givenvalue
.UserInputResolutionOptions(QUrl.UserInputResolutionOption... args)
Creates a new UserInputResolutionOptions where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QUrl.UserInputResolutionOptions
clone()
Clones the flagsQUrl.UserInputResolutionOptions
combined(QUrl.UserInputResolutionOption e)
Combines this flags with enum entry.int
compareTo(QUrl.UserInputResolutionOptions other)
QUrl.UserInputResolutionOption[]
flags()
Returns an array of flag objects represented by this UserInputResolutionOptions.QUrl.UserInputResolutionOptions
setFlag(QUrl.UserInputResolutionOption e)
Sets the flage
QUrl.UserInputResolutionOptions
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>
-