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