Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QUrlPrivate Class Reference
Collaboration diagram for QUrlPrivate:

Classes

struct  Error

Public Types

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
}

Public Member Functions

 QUrlPrivate ()
 QUrlPrivate (const QUrlPrivate &copy)
 ~QUrlPrivate ()
void parse (const QString &url, QUrl::ParsingMode parsingMode)
bool isEmpty () const
std::unique_ptr< ErrorcloneError () 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 &copy)
 ~QUrlPrivate ()
void parse (const QString &url, QUrl::ParsingMode parsingMode)
bool isEmpty () const
std::unique_ptr< ErrorcloneError () 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 ()

Public Attributes

QAtomicInt ref
int port
QString scheme
QString userName
QString password
QString host
QString path
QString query
QString fragment
std::unique_ptr< Errorerror
uchar sectionIsPresent
uchar flags

Detailed Description

Definition at line 441 of file qurl.cpp.

Member Enumeration Documentation

◆ ErrorCode [1/2]

Enumerator
InvalidSchemeError 
InvalidUserNameError 
InvalidPasswordError 
InvalidRegNameError 
InvalidIPv4AddressError 
InvalidIPv6AddressError 
InvalidCharacterInIPv6Error 
InvalidIPvFutureError 
HostMissingEndBracket 
InvalidPortError 
PortEmptyError 
InvalidPathError 
InvalidQueryError 
InvalidFragmentError 
AuthorityPresentAndPathIsRelative 
AuthorityAbsentAndPathIsDoubleSlash 
RelativeUrlPathContainsColonBeforeSlash 
NoError 
InvalidSchemeError 
InvalidUserNameError 
InvalidPasswordError 
InvalidRegNameError 
InvalidIPv4AddressError 
InvalidIPv6AddressError 
InvalidCharacterInIPv6Error 
InvalidIPvFutureError 
HostMissingEndBracket 
InvalidPortError 
PortEmptyError 
InvalidPathError 
InvalidQueryError 
InvalidFragmentError 
AuthorityPresentAndPathIsRelative 
AuthorityAbsentAndPathIsDoubleSlash 
RelativeUrlPathContainsColonBeforeSlash 
NoError 

Definition at line 463 of file qurl.cpp.

◆ ErrorCode [2/2]

Enumerator
InvalidSchemeError 
InvalidUserNameError 
InvalidPasswordError 
InvalidRegNameError 
InvalidIPv4AddressError 
InvalidIPv6AddressError 
InvalidCharacterInIPv6Error 
InvalidIPvFutureError 
HostMissingEndBracket 
InvalidPortError 
PortEmptyError 
InvalidPathError 
InvalidQueryError 
InvalidFragmentError 
AuthorityPresentAndPathIsRelative 
AuthorityAbsentAndPathIsDoubleSlash 
RelativeUrlPathContainsColonBeforeSlash 
NoError 
InvalidSchemeError 
InvalidUserNameError 
InvalidPasswordError 
InvalidRegNameError 
InvalidIPv4AddressError 
InvalidIPv6AddressError 
InvalidCharacterInIPv6Error 
InvalidIPvFutureError 
HostMissingEndBracket 
InvalidPortError 
PortEmptyError 
InvalidPathError 
InvalidQueryError 
InvalidFragmentError 
AuthorityPresentAndPathIsRelative 
AuthorityAbsentAndPathIsDoubleSlash 
RelativeUrlPathContainsColonBeforeSlash 
NoError 

Definition at line 463 of file qurl.cpp.

◆ Flags [1/2]

Enumerator
IsLocalFile 
IsLocalFile 

Definition at line 459 of file qurl.cpp.

◆ Flags [2/2]

Enumerator
IsLocalFile 
IsLocalFile 

Definition at line 459 of file qurl.cpp.

◆ Section [1/2]

Enumerator
Scheme 
UserName 
Password 
UserInfo 
Host 
Port 
Authority 
Path 
Hierarchy 
Query 
Fragment 
FullUrl 
Scheme 
UserName 
Password 
UserInfo 
Host 
Port 
Authority 
Path 
Hierarchy 
Query 
Fragment 
FullUrl 

Definition at line 444 of file qurl.cpp.

◆ Section [2/2]

Enumerator
Scheme 
UserName 
Password 
UserInfo 
Host 
Port 
Authority 
Path 
Hierarchy 
Query 
Fragment 
FullUrl 
Scheme 
UserName 
Password 
UserInfo 
Host 
Port 
Authority 
Path 
Hierarchy 
Query 
Fragment 
FullUrl 

Definition at line 444 of file qurl.cpp.

Constructor & Destructor Documentation

◆ QUrlPrivate() [1/4]

QUrlPrivate::QUrlPrivate ( )
inline

Definition at line 613 of file qurl.cpp.

References QUrlPrivate(), and port.

Referenced by QUrlPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QUrlPrivate() [2/4]

QUrlPrivate::QUrlPrivate ( const QUrlPrivate & copy)
inline

Definition at line 620 of file qurl.cpp.

References QUrlPrivate(), and port.

Referenced by QUrlPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QUrlPrivate() [1/2]

QUrlPrivate::~QUrlPrivate ( )
inlinedefault

◆ QUrlPrivate() [3/4]

QUrlPrivate::QUrlPrivate ( )

◆ QUrlPrivate() [4/4]

QUrlPrivate::QUrlPrivate ( const QUrlPrivate & copy)

◆ ~QUrlPrivate() [2/2]

QUrlPrivate::~QUrlPrivate ( )

Member Function Documentation

◆ appendAuthority() [1/2]

void QUrlPrivate::appendAuthority ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const
inline

Definition at line 880 of file qurl.cpp.

◆ appendAuthority() [2/2]

void QUrlPrivate::appendAuthority ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const

◆ appendFragment() [1/2]

void QUrlPrivate::appendFragment ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const
inline

Definition at line 978 of file qurl.cpp.

◆ appendFragment() [2/2]

void QUrlPrivate::appendFragment ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const

◆ appendHost() [1/2]

void QUrlPrivate::appendHost ( QString & appendTo,
QUrl::FormattingOptions options ) const
inline

Definition at line 1206 of file qurl.cpp.

◆ appendHost() [2/2]

void QUrlPrivate::appendHost ( QString & appendTo,
QUrl::FormattingOptions options ) const

◆ appendPassword() [1/2]

void QUrlPrivate::appendPassword ( QString & appendTo,
QUrl::FormattingOptions options ) const
inline

Definition at line 948 of file qurl.cpp.

◆ appendPassword() [2/2]

void QUrlPrivate::appendPassword ( QString & appendTo,
QUrl::FormattingOptions options ) const

◆ appendPath() [1/2]

void QUrlPrivate::appendPath ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const
inline

Definition at line 955 of file qurl.cpp.

References normalizePathSegments().

Here is the call graph for this function:

◆ appendPath() [2/2]

void QUrlPrivate::appendPath ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const

◆ appendQuery() [1/2]

void QUrlPrivate::appendQuery ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const
inline

Definition at line 985 of file qurl.cpp.

◆ appendQuery() [2/2]

void QUrlPrivate::appendQuery ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const

◆ appendUserInfo() [1/2]

void QUrlPrivate::appendUserInfo ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const
inline

Definition at line 894 of file qurl.cpp.

References Authority, FullUrl, hasUserInfo(), passwordInAuthority, passwordInUrl, passwordInUserInfo, UserInfo, userNameInAuthority, userNameInUrl, and userNameInUserInfo.

Here is the call graph for this function:

◆ appendUserInfo() [2/2]

void QUrlPrivate::appendUserInfo ( QString & appendTo,
QUrl::FormattingOptions options,
Section appendingTo ) const

◆ appendUserName() [1/2]

void QUrlPrivate::appendUserName ( QString & appendTo,
QUrl::FormattingOptions options ) const
inline

Definition at line 939 of file qurl.cpp.

References hasPassword().

Here is the call graph for this function:

◆ appendUserName() [2/2]

void QUrlPrivate::appendUserName ( QString & appendTo,
QUrl::FormattingOptions options ) const

◆ clear() [1/2]

void QUrlPrivate::clear ( )
inline

Definition at line 580 of file qurl.cpp.

References clearError(), and port.

Here is the call graph for this function:

◆ clear() [2/2]

void QUrlPrivate::clear ( )
inline

Definition at line 580 of file qurl.cpp.

◆ clearError() [1/2]

void QUrlPrivate::clearError ( )
inline

Definition at line 643 of file qurl.cpp.

Referenced by clear().

Here is the caller graph for this function:

◆ clearError() [2/2]

void QUrlPrivate::clearError ( )

◆ cloneError() [1/2]

std::unique_ptr< QUrlPrivate::Error > QUrlPrivate::cloneError ( ) const

Definition at line 638 of file qurl.cpp.

◆ cloneError() [2/2]

std::unique_ptr< Error > QUrlPrivate::cloneError ( ) const

◆ hasAuthority() [1/2]

bool QUrlPrivate::hasAuthority ( ) const
inline

Definition at line 558 of file qurl.cpp.

◆ hasAuthority() [2/2]

bool QUrlPrivate::hasAuthority ( ) const
inline

Definition at line 558 of file qurl.cpp.

◆ hasFragment() [1/2]

bool QUrlPrivate::hasFragment ( ) const
inline

Definition at line 566 of file qurl.cpp.

◆ hasFragment() [2/2]

bool QUrlPrivate::hasFragment ( ) const
inline

Definition at line 566 of file qurl.cpp.

◆ hasHost() [1/2]

bool QUrlPrivate::hasHost ( ) const
inline

Definition at line 562 of file qurl.cpp.

◆ hasHost() [2/2]

bool QUrlPrivate::hasHost ( ) const
inline

Definition at line 562 of file qurl.cpp.

◆ hasPassword() [1/2]

bool QUrlPrivate::hasPassword ( ) const
inline

Definition at line 561 of file qurl.cpp.

Referenced by appendUserName().

Here is the caller graph for this function:

◆ hasPassword() [2/2]

bool QUrlPrivate::hasPassword ( ) const
inline

Definition at line 561 of file qurl.cpp.

◆ hasPath() [1/2]

bool QUrlPrivate::hasPath ( ) const
inline

Definition at line 564 of file qurl.cpp.

◆ hasPath() [2/2]

bool QUrlPrivate::hasPath ( ) const
inline

Definition at line 564 of file qurl.cpp.

◆ hasPort() [1/2]

bool QUrlPrivate::hasPort ( ) const
inline

Definition at line 563 of file qurl.cpp.

References port.

◆ hasPort() [2/2]

bool QUrlPrivate::hasPort ( ) const
inline

Definition at line 563 of file qurl.cpp.

◆ hasQuery() [1/2]

bool QUrlPrivate::hasQuery ( ) const
inline

Definition at line 565 of file qurl.cpp.

◆ hasQuery() [2/2]

bool QUrlPrivate::hasQuery ( ) const
inline

Definition at line 565 of file qurl.cpp.

◆ hasScheme() [1/2]

bool QUrlPrivate::hasScheme ( ) const
inline

Definition at line 557 of file qurl.cpp.

◆ hasScheme() [2/2]

bool QUrlPrivate::hasScheme ( ) const
inline

Definition at line 557 of file qurl.cpp.

◆ hasUserInfo() [1/2]

bool QUrlPrivate::hasUserInfo ( ) const
inline

Definition at line 559 of file qurl.cpp.

Referenced by appendUserInfo().

Here is the caller graph for this function:

◆ hasUserInfo() [2/2]

bool QUrlPrivate::hasUserInfo ( ) const
inline

Definition at line 559 of file qurl.cpp.

◆ hasUserName() [1/2]

bool QUrlPrivate::hasUserName ( ) const
inline

Definition at line 560 of file qurl.cpp.

◆ hasUserName() [2/2]

bool QUrlPrivate::hasUserName ( ) const
inline

Definition at line 560 of file qurl.cpp.

◆ isEmpty() [1/2]

bool QUrlPrivate::isEmpty ( ) const
inline

Definition at line 508 of file qurl.cpp.

◆ isEmpty() [2/2]

bool QUrlPrivate::isEmpty ( ) const
inline

Definition at line 508 of file qurl.cpp.

◆ isLocalFile() [1/2]

bool QUrlPrivate::isLocalFile ( ) const
inline

Definition at line 568 of file qurl.cpp.

Referenced by presentSections().

Here is the caller graph for this function:

◆ isLocalFile() [2/2]

bool QUrlPrivate::isLocalFile ( ) const
inline

Definition at line 568 of file qurl.cpp.

◆ mergePaths() [1/2]

QString QUrlPrivate::mergePaths ( const QString & relativePath) const
inline

Definition at line 1560 of file qurl.cpp.

◆ mergePaths() [2/2]

QString QUrlPrivate::mergePaths ( const QString & relativePath) const

◆ normalizePathSegments() [1/2]

bool QUrlPrivate::normalizePathSegments ( QString * path) const
inline

Definition at line 571 of file qurl.cpp.

Referenced by appendPath().

Here is the caller graph for this function:

◆ normalizePathSegments() [2/2]

bool QUrlPrivate::normalizePathSegments ( QString * path) const
inline

Definition at line 571 of file qurl.cpp.

◆ parse() [1/2]

void QUrlPrivate::parse ( const QString & url,
QUrl::ParsingMode parsingMode )
inline

Definition at line 1418 of file qurl.cpp.

References port.

◆ parse() [2/2]

void QUrlPrivate::parse ( const QString & url,
QUrl::ParsingMode parsingMode )

◆ presentSections() [1/2]

uint QUrlPrivate::presentSections ( ) const
inlinenoexcept

Definition at line 540 of file qurl.cpp.

References Host, isLocalFile(), Password, and UserName.

Here is the call graph for this function:

◆ presentSections() [2/2]

uint QUrlPrivate::presentSections ( ) const
inlinenoexcept

Definition at line 540 of file qurl.cpp.

◆ setAuthority() [1/2]

void QUrlPrivate::setAuthority ( const QString & auth,
qsizetype from,
qsizetype end,
QUrl::ParsingMode mode )
inline

Definition at line 1058 of file qurl.cpp.

References port.

◆ setAuthority() [2/2]

void QUrlPrivate::setAuthority ( const QString & auth,
qsizetype from,
qsizetype end,
QUrl::ParsingMode mode )

◆ setError() [1/2]

void QUrlPrivate::setError ( ErrorCode errorCode,
const QString & source,
qsizetype supplement = -1 )
inline

Definition at line 648 of file qurl.cpp.

◆ setError() [2/2]

void QUrlPrivate::setError ( ErrorCode errorCode,
const QString & source,
qsizetype supplement = -1 )

◆ setFragment() [1/2]

template<typename String>
void QUrlPrivate::setFragment ( String && value,
QUrl::ParsingMode mode )
inline

Definition at line 1164 of file qurl.cpp.

◆ setFragment() [2/2]

template<typename String>
void QUrlPrivate::setFragment ( String && value,
QUrl::ParsingMode mode )

◆ setHost() [1/2]

bool QUrlPrivate::setHost ( const QString & value,
qsizetype from,
qsizetype end,
QUrl::ParsingMode mode )
inline

Definition at line 1323 of file qurl.cpp.

References ForbidLeadingDot, and NormalizeAce.

◆ setHost() [2/2]

bool QUrlPrivate::setHost ( const QString & value,
qsizetype from,
qsizetype end,
QUrl::ParsingMode mode )

◆ setPassword() [1/2]

template<typename String>
void QUrlPrivate::setPassword ( String && value,
QUrl::ParsingMode mode )
inline

Definition at line 1152 of file qurl.cpp.

◆ setPassword() [2/2]

template<typename String>
void QUrlPrivate::setPassword ( String && value,
QUrl::ParsingMode mode )

◆ setPath() [1/2]

template<typename String>
void QUrlPrivate::setPath ( String && value,
QUrl::ParsingMode mode )
inline

Definition at line 1158 of file qurl.cpp.

◆ setPath() [2/2]

template<typename String>
void QUrlPrivate::setPath ( String && value,
QUrl::ParsingMode mode )

◆ setQuery() [1/2]

template<typename String>
void QUrlPrivate::setQuery ( String && value,
QUrl::ParsingMode mode )
inline

Definition at line 1170 of file qurl.cpp.

◆ setQuery() [2/2]

template<typename String>
void QUrlPrivate::setQuery ( String && value,
QUrl::ParsingMode mode )

◆ setScheme() [1/2]

bool QUrlPrivate::setScheme ( const QString & value,
qsizetype len,
bool doSetError )
inline

Definition at line 993 of file qurl.cpp.

◆ setScheme() [2/2]

bool QUrlPrivate::setScheme ( const QString & value,
qsizetype len,
bool doSetError )

◆ setUserInfo() [1/2]

template<typename String>
void QUrlPrivate::setUserInfo ( String && value,
QUrl::ParsingMode mode )

Definition at line 1130 of file qurl.cpp.

◆ setUserInfo() [2/2]

template<typename String>
void QUrlPrivate::setUserInfo ( String && value,
QUrl::ParsingMode mode )

◆ setUserName() [1/2]

template<typename String>
void QUrlPrivate::setUserName ( String && value,
QUrl::ParsingMode mode )
inline

Definition at line 1146 of file qurl.cpp.

◆ setUserName() [2/2]

template<typename String>
void QUrlPrivate::setUserName ( String && value,
QUrl::ParsingMode mode )

◆ toLocalFile() [1/2]

QString QUrlPrivate::toLocalFile ( QUrl::FormattingOptions options) const

Definition at line 1525 of file qurl.cpp.

◆ toLocalFile() [2/2]

QString QUrlPrivate::toLocalFile ( QUrl::FormattingOptions options) const

◆ validateComponent() [1/4]

bool QUrlPrivate::validateComponent ( Section section,
const QString & input )
inline

Definition at line 516 of file qurl.cpp.

References validateComponent().

Referenced by validateComponent().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateComponent() [2/4]

bool QUrlPrivate::validateComponent ( Section section,
const QString & input )
inline

Definition at line 516 of file qurl.cpp.

◆ validateComponent() [3/4]

bool QUrlPrivate::validateComponent ( Section section,
const QString & input,
qsizetype begin,
qsizetype end )

◆ validateComponent() [4/4]

bool QUrlPrivate::validateComponent ( Section section,
const QString & input,
qsizetype begin,
qsizetype end )

◆ validityError() [1/2]

QUrlPrivate::ErrorCode QUrlPrivate::validityError ( QString * source = nullptr,
qsizetype * position = nullptr ) const
inline

◆ validityError() [2/2]

ErrorCode QUrlPrivate::validityError ( QString * source = nullptr,
qsizetype * position = nullptr ) const

Member Data Documentation

◆ error

std::unique_ptr< Error > QUrlPrivate::error

Definition at line 600 of file qurl.cpp.

◆ flags

uchar QUrlPrivate::flags

Definition at line 607 of file qurl.cpp.

◆ fragment

QString QUrlPrivate::fragment

Definition at line 598 of file qurl.cpp.

◆ host

QString QUrlPrivate::host

Definition at line 595 of file qurl.cpp.

◆ password

QString QUrlPrivate::password

Definition at line 594 of file qurl.cpp.

◆ path

QString QUrlPrivate::path

Definition at line 596 of file qurl.cpp.

◆ port

int QUrlPrivate::port

Definition at line 590 of file qurl.cpp.

Referenced by QUrlPrivate(), QUrlPrivate(), clear(), hasPort(), parse(), and setAuthority().

◆ query

QString QUrlPrivate::query

Definition at line 597 of file qurl.cpp.

◆ ref

QAtomicInt QUrlPrivate::ref

Definition at line 589 of file qurl.cpp.

◆ scheme

QString QUrlPrivate::scheme

Definition at line 592 of file qurl.cpp.

◆ sectionIsPresent

uchar QUrlPrivate::sectionIsPresent

Definition at line 606 of file qurl.cpp.

◆ userName

QString QUrlPrivate::userName

Definition at line 593 of file qurl.cpp.


The documentation for this class was generated from the following file: