|
| enum | Section : uchar {
Scheme = 0x01
, UserName = 0x02
, Password = 0x04
, UserInfo = UserName | Password
,
Host = 0x08
, Port = 0x10
, Authority = UserInfo | Host | Port
, Path = 0x20
,
Hierarchy = Authority | Path
, Query = 0x40
, Fragment = 0x80
, FullUrl = 0xff
,
Scheme = 0x01
, UserName = 0x02
, Password = 0x04
, UserInfo = UserName | Password
,
Host = 0x08
, Port = 0x10
, Authority = UserInfo | Host | Port
, Path = 0x20
,
Hierarchy = Authority | Path
, Query = 0x40
, Fragment = 0x80
, FullUrl = 0xff
} |
| enum | Flags : uchar { IsLocalFile = 0x01
, IsLocalFile = 0x01
} |
| enum | ErrorCode {
InvalidSchemeError = Scheme << 8
, InvalidUserNameError = UserName << 8
, InvalidPasswordError = Password << 8
, InvalidRegNameError = Host << 8
,
InvalidIPv4AddressError
, InvalidIPv6AddressError
, InvalidCharacterInIPv6Error
, InvalidIPvFutureError
,
HostMissingEndBracket
, InvalidPortError = Port << 8
, PortEmptyError
, InvalidPathError = Path << 8
,
InvalidQueryError = Query << 8
, InvalidFragmentError = Fragment << 8
, AuthorityPresentAndPathIsRelative = Authority << 8 | Path << 8 | 0x10000
, AuthorityAbsentAndPathIsDoubleSlash
,
RelativeUrlPathContainsColonBeforeSlash = Scheme << 8 | Authority << 8 | Path << 8 | 0x10000
, NoError = 0
, InvalidSchemeError = Scheme << 8
, InvalidUserNameError = UserName << 8
,
InvalidPasswordError = Password << 8
, InvalidRegNameError = Host << 8
, InvalidIPv4AddressError
, InvalidIPv6AddressError
,
InvalidCharacterInIPv6Error
, InvalidIPvFutureError
, HostMissingEndBracket
, InvalidPortError = Port << 8
,
PortEmptyError
, InvalidPathError = Path << 8
, InvalidQueryError = Query << 8
, InvalidFragmentError = Fragment << 8
,
AuthorityPresentAndPathIsRelative = Authority << 8 | Path << 8 | 0x10000
, AuthorityAbsentAndPathIsDoubleSlash
, RelativeUrlPathContainsColonBeforeSlash = Scheme << 8 | Authority << 8 | Path << 8 | 0x10000
, NoError = 0
} |
| enum | Section : uchar {
Scheme = 0x01
, UserName = 0x02
, Password = 0x04
, UserInfo = UserName | Password
,
Host = 0x08
, Port = 0x10
, Authority = UserInfo | Host | Port
, Path = 0x20
,
Hierarchy = Authority | Path
, Query = 0x40
, Fragment = 0x80
, FullUrl = 0xff
,
Scheme = 0x01
, UserName = 0x02
, Password = 0x04
, UserInfo = UserName | Password
,
Host = 0x08
, Port = 0x10
, Authority = UserInfo | Host | Port
, Path = 0x20
,
Hierarchy = Authority | Path
, Query = 0x40
, Fragment = 0x80
, FullUrl = 0xff
} |
| enum | Flags : uchar { IsLocalFile = 0x01
, IsLocalFile = 0x01
} |
| enum | ErrorCode {
InvalidSchemeError = Scheme << 8
, InvalidUserNameError = UserName << 8
, InvalidPasswordError = Password << 8
, InvalidRegNameError = Host << 8
,
InvalidIPv4AddressError
, InvalidIPv6AddressError
, InvalidCharacterInIPv6Error
, InvalidIPvFutureError
,
HostMissingEndBracket
, InvalidPortError = Port << 8
, PortEmptyError
, InvalidPathError = Path << 8
,
InvalidQueryError = Query << 8
, InvalidFragmentError = Fragment << 8
, AuthorityPresentAndPathIsRelative = Authority << 8 | Path << 8 | 0x10000
, AuthorityAbsentAndPathIsDoubleSlash
,
RelativeUrlPathContainsColonBeforeSlash = Scheme << 8 | Authority << 8 | Path << 8 | 0x10000
, NoError = 0
, InvalidSchemeError = Scheme << 8
, InvalidUserNameError = UserName << 8
,
InvalidPasswordError = Password << 8
, InvalidRegNameError = Host << 8
, InvalidIPv4AddressError
, InvalidIPv6AddressError
,
InvalidCharacterInIPv6Error
, InvalidIPvFutureError
, HostMissingEndBracket
, InvalidPortError = Port << 8
,
PortEmptyError
, InvalidPathError = Path << 8
, InvalidQueryError = Query << 8
, InvalidFragmentError = Fragment << 8
,
AuthorityPresentAndPathIsRelative = Authority << 8 | Path << 8 | 0x10000
, AuthorityAbsentAndPathIsDoubleSlash
, RelativeUrlPathContainsColonBeforeSlash = Scheme << 8 | Authority << 8 | Path << 8 | 0x10000
, NoError = 0
} |
|
| | QUrlPrivate () |
| | QUrlPrivate (const QUrlPrivate ©) |
| | ~QUrlPrivate () |
| void | parse (const QString &url, QUrl::ParsingMode parsingMode) |
| bool | isEmpty () const |
| std::unique_ptr< Error > | cloneError () const |
| void | clearError () |
| void | setError (ErrorCode errorCode, const QString &source, qsizetype supplement=-1) |
| ErrorCode | validityError (QString *source=nullptr, qsizetype *position=nullptr) const |
| bool | validateComponent (Section section, const QString &input, qsizetype begin, qsizetype end) |
| bool | validateComponent (Section section, const QString &input) |
| void | appendAuthority (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendUserInfo (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendUserName (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendPassword (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendHost (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendPath (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendQuery (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendFragment (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| bool | setScheme (const QString &value, qsizetype len, bool doSetError) |
| void | setAuthority (const QString &auth, qsizetype from, qsizetype end, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setUserInfo (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setUserName (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setPassword (String &&value, QUrl::ParsingMode mode) |
| bool | setHost (const QString &value, qsizetype from, qsizetype end, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setPath (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setQuery (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setFragment (String &&value, QUrl::ParsingMode mode) |
| uint | presentSections () const noexcept |
| bool | hasScheme () const |
| bool | hasAuthority () const |
| bool | hasUserInfo () const |
| bool | hasUserName () const |
| bool | hasPassword () const |
| bool | hasHost () const |
| bool | hasPort () const |
| bool | hasPath () const |
| bool | hasQuery () const |
| bool | hasFragment () const |
| bool | isLocalFile () const |
| QString | toLocalFile (QUrl::FormattingOptions options) const |
| bool | normalizePathSegments (QString *path) const |
| QString | mergePaths (const QString &relativePath) const |
| void | clear () |
| | QUrlPrivate () |
| | QUrlPrivate (const QUrlPrivate ©) |
| | ~QUrlPrivate () |
| void | parse (const QString &url, QUrl::ParsingMode parsingMode) |
| bool | isEmpty () const |
| std::unique_ptr< Error > | cloneError () const |
| void | clearError () |
| void | setError (ErrorCode errorCode, const QString &source, qsizetype supplement=-1) |
| ErrorCode | validityError (QString *source=nullptr, qsizetype *position=nullptr) const |
| bool | validateComponent (Section section, const QString &input, qsizetype begin, qsizetype end) |
| bool | validateComponent (Section section, const QString &input) |
| void | appendAuthority (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendUserInfo (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendUserName (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendPassword (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendHost (QString &appendTo, QUrl::FormattingOptions options) const |
| void | appendPath (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendQuery (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| void | appendFragment (QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const |
| bool | setScheme (const QString &value, qsizetype len, bool doSetError) |
| void | setAuthority (const QString &auth, qsizetype from, qsizetype end, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setUserInfo (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setUserName (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setPassword (String &&value, QUrl::ParsingMode mode) |
| bool | setHost (const QString &value, qsizetype from, qsizetype end, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setPath (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setQuery (String &&value, QUrl::ParsingMode mode) |
| template<typename String> |
| void | setFragment (String &&value, QUrl::ParsingMode mode) |
| uint | presentSections () const noexcept |
| bool | hasScheme () const |
| bool | hasAuthority () const |
| bool | hasUserInfo () const |
| bool | hasUserName () const |
| bool | hasPassword () const |
| bool | hasHost () const |
| bool | hasPort () const |
| bool | hasPath () const |
| bool | hasQuery () const |
| bool | hasFragment () const |
| bool | isLocalFile () const |
| QString | toLocalFile (QUrl::FormattingOptions options) const |
| bool | normalizePathSegments (QString *path) const |
| QString | mergePaths (const QString &relativePath) const |
| void | clear () |
Definition at line 441 of file qurl.cpp.