- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QUrl.FormattingOptions>
- Enclosing class:
QUrl
public static final class QUrl.FormattingOptions
extends QFlags<QUrl.FormattingOption>
implements Comparable<QUrl.FormattingOptions>
QFlags type for joining
QUrl.UrlFormattingOption
and QUrl.ComponentFormattingOption
.- See Also:
-
Constructor Summary
ConstructorDescriptionFormattingOptions
(int value) FormattingOptions
(QUrl.FormattingOption ... args) -
Method Summary
Modifier and TypeMethodDescriptioncleared
(QUrl.FormattingOption flag) clone()
Clones the flagsint
flags()
Returns an array of flag objects represented by this QFlags.final QUrl.FormattingOptions
Sets the flage
final QUrl.FormattingOptions
setFlag
(QUrl.FormattingOption e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FormattingOptions
-
FormattingOptions
public FormattingOptions(int value)
-
-
Method Details
-
clone
Description copied from class:QFlags
Clones the flags- Overrides:
clone
in classQFlags<QUrl.FormattingOption>
-
combined
Description copied from class:QFlags
- Overrides:
combined
in classQFlags<QUrl.FormattingOption>
-
cleared
Description copied from class:QFlags
- Overrides:
cleared
in classQFlags<QUrl.FormattingOption>
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QUrl.FormattingOption>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QUrl.FormattingOption>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Description copied from class:QFlags
Returns an array of flag objects represented by this QFlags.- Overrides:
flags
in classQFlags<QUrl.FormattingOption>
- Returns:
- array of enum entries
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QUrl.FormattingOptions>
-