|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.QUrl.FormattingOption
public static final class QUrl.FormattingOption
The formatting options define how the URL is formatted when written out as text. Note that the case folding rules in Nameprep, which QUrl
conforms to, require host names to always be converted to lower case, regardless of the Qt::FormattingOptions used.
Field Summary | |
---|---|
static QUrl.FormattingOption |
None
The format of the URL is unchanged. |
static QUrl.FormattingOption |
RemoveAuthority
|
static QUrl.FormattingOption |
RemoveFragment
|
static QUrl.FormattingOption |
RemovePassword
Any password in the URL is removed. |
static QUrl.FormattingOption |
RemovePath
The URL's path is removed, leaving only the scheme, host address, and port (if present). |
static QUrl.FormattingOption |
RemovePort
Any specified port is removed from the URL. |
static QUrl.FormattingOption |
RemoveQuery
The query part of the URL (following a '?' character) is removed. |
static QUrl.FormattingOption |
RemoveScheme
The scheme is removed from the URL. |
static QUrl.FormattingOption |
RemoveUserInfo
Any user information in the URL is removed. |
static QUrl.FormattingOption |
StripTrailingSlash
The trailing slash is removed if one is present. |
Method Summary | |
---|---|
static QUrl.FormattingOptions |
createQFlags(QUrl.FormattingOption[] values)
|
static QUrl.FormattingOption |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QUrl.FormattingOption |
valueOf(java.lang.String name)
|
static QUrl.FormattingOption[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QUrl.FormattingOption None
public static final QUrl.FormattingOption RemoveScheme
public static final QUrl.FormattingOption RemovePassword
public static final QUrl.FormattingOption RemoveUserInfo
public static final QUrl.FormattingOption RemovePort
public static final QUrl.FormattingOption RemoveAuthority
public static final QUrl.FormattingOption RemovePath
public static final QUrl.FormattingOption RemoveQuery
public static final QUrl.FormattingOption RemoveFragment
public static final QUrl.FormattingOption StripTrailingSlash
Method Detail |
---|
public static QUrl.FormattingOption[] values()
public static QUrl.FormattingOption valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QUrl.FormattingOptions createQFlags(QUrl.FormattingOption[] values)
public static QUrl.FormattingOption resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |