Qt 4.8
|
Public Types | |
enum | ParseOptions { ParseAndSet, ParseOnly } |
enum | State { Parsed = 0x1, Validated = 0x2, Normalized = 0x4, HostCanonicalized = 0x8 } |
Public Functions | |
QString | authority (QUrl::FormattingOptions options=QUrl::None) const |
QString | canonicalHost () const |
void | clear () |
QString | createErrorString () |
void | ensureEncodedParts () const |
QString | fragmentImpl () const |
QByteArray | mergePaths (const QByteArray &relativePath) const |
const QByteArray & | normalized () const |
void | parse (ParseOptions parseOptions=ParseAndSet) const |
void | queryItem (int pos, int *value, int *end) |
QUrlPrivate () | |
QUrlPrivate (const QUrlPrivate &other) | |
void | setAuthority (const QString &auth) |
void | setEncodedAuthority (const QByteArray &authority) |
void | setEncodedUrl (const QByteArray &encodedUrl, QUrl::ParsingMode parsingMode) |
void | setEncodedUserInfo (const QUrlParseData *parseData) |
bool | setUrl (const QString &url) |
void | setUserInfo (const QString &userInfo) |
QByteArray | toEncoded (QUrl::FormattingOptions options=QUrl::None) const |
QString | userInfo (QUrl::FormattingOptions options=QUrl::None) const |
void | validate () const |
Enumerator | |
---|---|
ParseAndSet | |
ParseOnly |
Definition at line 343 of file qurl.cpp.
enum QUrlPrivate::State |
Enumerator | |
---|---|
Parsed | |
Validated | |
Normalized | |
HostCanonicalized |
QUrlPrivate::QUrlPrivate | ( | const QUrlPrivate & | other | ) |
QString QUrlPrivate::authority | ( | QUrl::FormattingOptions | options = QUrl::None | ) | const |
Definition at line 3568 of file qurl.cpp.
Referenced by QUrl::authority(), mergePaths(), QUrl::resolved(), toEncoded(), QUrl::toString(), and validate().
QString QUrlPrivate::canonicalHost | ( | ) | const |
Definition at line 3479 of file qurl.cpp.
Referenced by authority(), QUrl::host(), and normalized().
void QUrlPrivate::clear | ( | ) |
Definition at line 3968 of file qurl.cpp.
Referenced by QUrl::setEncodedUrl(), and QUrl::setUrl().
QString QUrlPrivate::createErrorString | ( | ) |
Definition at line 4164 of file qurl.cpp.
Referenced by QUrl::errorString().
void QUrlPrivate::ensureEncodedParts | ( | ) | const |
Definition at line 3550 of file qurl.cpp.
Referenced by QUrl::encodedFragment(), QUrl::encodedPassword(), QUrl::encodedPath(), QUrl::encodedUserName(), mergePaths(), normalized(), QUrl::resolved(), and toEncoded().
QString QUrlPrivate::fragmentImpl | ( | ) | const |
Definition at line 5696 of file qurl.cpp.
Referenced by QUrl::fragment(), QUrl::resolved(), and QUrl::toString().
QByteArray QUrlPrivate::mergePaths | ( | const QByteArray & | relativePath | ) | const |
Definition at line 3700 of file qurl.cpp.
Referenced by QUrl::resolved().
const QByteArray & QUrlPrivate::normalized | ( | ) | const |
Definition at line 4082 of file qurl.cpp.
Referenced by QUrl::operator<(), QUrl::operator==(), and toEncoded().
void QUrlPrivate::parse | ( | ParseOptions | parseOptions = ParseAndSet | ) | const |
Definition at line 3852 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), QUrl::allEncodedQueryItemValues(), QUrl::allQueryItemValues(), QUrl::authority(), QUrl::encodedFragment(), QUrl::encodedPassword(), QUrl::encodedPath(), QUrl::encodedQuery(), QUrl::encodedQueryItems(), QUrl::encodedQueryItemValue(), QUrl::encodedUserName(), QUrl::fragment(), QUrl::hasEncodedQueryItem(), QUrl::hasFragment(), QUrl::hasQuery(), QUrl::host(), QUrl::isLocalFile(), QUrl::isParentOf(), QUrl::isRelative(), QUrl::isValid(), QUrl::operator<(), QUrl::operator==(), QUrl::password(), QUrl::path(), QUrl::port(), QUrl::queryItems(), QUrl::removeAllEncodedQueryItems(), QUrl::removeEncodedQueryItem(), QUrl::resolved(), QUrl::scheme(), QUrl::setAuthority(), QUrl::setEncodedFragment(), QUrl::setEncodedPassword(), QUrl::setEncodedPath(), QUrl::setEncodedQuery(), QUrl::setEncodedQueryItems(), QUrl::setEncodedUserName(), QUrl::setFragment(), QUrl::setHost(), QUrl::setPassword(), QUrl::setPath(), QUrl::setPort(), QUrl::setQueryItems(), QUrl::setScheme(), QUrl::setUserInfo(), QUrl::setUserName(), toEncoded(), QUrl::toString(), QUrl::userInfo(), QUrl::userName(), and validate().
void QUrlPrivate::queryItem | ( | int | pos, |
int * | value, | ||
int * | end | ||
) |
Definition at line 3727 of file qurl.cpp.
Referenced by QUrl::allEncodedQueryItemValues(), QUrl::allQueryItemValues(), QUrl::encodedQueryItems(), QUrl::encodedQueryItemValue(), QUrl::hasEncodedQueryItem(), QUrl::queryItems(), QUrl::removeAllEncodedQueryItems(), and QUrl::removeEncodedQueryItem().
void QUrlPrivate::setAuthority | ( | const QString & | auth | ) |
Definition at line 3585 of file qurl.cpp.
Referenced by QUrl::setAuthority().
void QUrlPrivate::setEncodedAuthority | ( | const QByteArray & | authority | ) |
void QUrlPrivate::setEncodedUrl | ( | const QByteArray & | encodedUrl, |
QUrl::ParsingMode | parsingMode | ||
) |
Definition at line 4458 of file qurl.cpp.
Referenced by QUrl::setEncodedUrl(), and QUrl::setUrl().
void QUrlPrivate::setEncodedUserInfo | ( | const QUrlParseData * | parseData | ) |
Definition at line 3656 of file qurl.cpp.
Referenced by parse().
bool QUrlPrivate::setUrl | ( | const QString & | url | ) |
void QUrlPrivate::setUserInfo | ( | const QString & | userInfo | ) |
Definition at line 3641 of file qurl.cpp.
Referenced by setAuthority(), and QUrl::setUserInfo().
QByteArray QUrlPrivate::toEncoded | ( | QUrl::FormattingOptions | options = QUrl::None | ) | const |
Definition at line 3996 of file qurl.cpp.
Referenced by normalized(), QUrl::resolved(), QUrl::toEncoded(), and validate().
QString QUrlPrivate::userInfo | ( | QUrl::FormattingOptions | options = QUrl::None | ) | const |
Definition at line 3673 of file qurl.cpp.
Referenced by authority(), parse(), QUrl::password(), setUserInfo(), QUrl::userInfo(), and QUrl::userName().
void QUrlPrivate::validate | ( | ) | const |
Definition at line 3818 of file qurl.cpp.
Referenced by QUrl::isValid(), and QUrl::port().
QByteArray QUrlPrivate::encodedFragment |
Definition at line 368 of file qurl.cpp.
Referenced by clear(), QUrl::encodedFragment(), ensureEncodedParts(), QUrl::isEmpty(), normalized(), parse(), QUrl::setEncodedFragment(), QUrl::setFragment(), and toEncoded().
|
mutable |
Definition at line 396 of file qurl.cpp.
Referenced by clear(), and normalized().
QByteArray QUrlPrivate::encodedOriginal |
Definition at line 364 of file qurl.cpp.
Referenced by clear(), createErrorString(), QUrl::isEmpty(), parse(), and validate().
QByteArray QUrlPrivate::encodedPassword |
Definition at line 366 of file qurl.cpp.
Referenced by clear(), QUrl::encodedPassword(), ensureEncodedParts(), QUrl::isEmpty(), normalized(), QUrl::resolved(), QUrl::setEncodedPassword(), setEncodedUserInfo(), QUrl::setPassword(), setUserInfo(), toEncoded(), and userInfo().
QByteArray QUrlPrivate::encodedPath |
Definition at line 367 of file qurl.cpp.
Referenced by clear(), QUrl::encodedPath(), ensureEncodedParts(), QUrl::isEmpty(), mergePaths(), normalized(), parse(), QUrl::path(), QUrl::resolved(), QUrl::setEncodedPath(), QUrl::setPath(), toEncoded(), and validate().
QByteArray QUrlPrivate::encodedUserName |
Definition at line 365 of file qurl.cpp.
Referenced by clear(), QUrl::encodedUserName(), ensureEncodedParts(), QUrl::isEmpty(), normalized(), QUrl::resolved(), setEncodedUserInfo(), QUrl::setEncodedUserName(), setUserInfo(), QUrl::setUserName(), toEncoded(), and userInfo().
|
mutable |
Definition at line 399 of file qurl.cpp.
Referenced by createErrorString(), parse(), and validate().
QString QUrlPrivate::fragment |
Definition at line 362 of file qurl.cpp.
Referenced by clear(), ensureEncodedParts(), fragmentImpl(), QUrl::isEmpty(), parse(), QUrl::setEncodedFragment(), and QUrl::setFragment().
bool QUrlPrivate::hasFragment |
Definition at line 374 of file qurl.cpp.
Referenced by clear(), QUrl::hasFragment(), parse(), QUrl::setEncodedFragment(), QUrl::setFragment(), toEncoded(), and QUrl::toString().
bool QUrlPrivate::hasQuery |
Definition at line 373 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), clear(), QUrl::hasQuery(), parse(), QUrl::resolved(), QUrl::setEncodedQuery(), QUrl::setEncodedQueryItems(), QUrl::setQueryItems(), toEncoded(), and QUrl::toString().
QString QUrlPrivate::host |
Definition at line 359 of file qurl.cpp.
Referenced by canonicalHost(), clear(), QUrl::isEmpty(), normalized(), parse(), QUrl::resolved(), setAuthority(), QUrl::setHost(), toEncoded(), QUrl::toLocalFile(), and validate().
bool QUrlPrivate::isHostValid |
Definition at line 376 of file qurl.cpp.
Referenced by canonicalHost(), createErrorString(), QUrl::isValid(), setAuthority(), QUrl::setHost(), and validate().
bool QUrlPrivate::isValid |
Definition at line 375 of file qurl.cpp.
Referenced by clear(), createErrorString(), QUrl::isValid(), parse(), and validate().
|
mutable |
Definition at line 394 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), QUrl::allEncodedQueryItemValues(), QUrl::allQueryItemValues(), QUrl::authority(), QUrl::detach(), QUrl::encodedFragment(), QUrl::encodedPassword(), QUrl::encodedPath(), QUrl::encodedQuery(), QUrl::encodedQueryItems(), QUrl::encodedQueryItemValue(), QUrl::encodedUserName(), QUrl::errorString(), QUrl::fragment(), QUrl::hasEncodedQueryItem(), QUrl::hasFragment(), QUrl::hasQuery(), QUrl::host(), QUrl::isEmpty(), QUrl::isLocalFile(), QUrl::isParentOf(), QUrl::isRelative(), QUrl::isValid(), QUrl::operator<(), QUrl::operator==(), QUrl::password(), QUrl::path(), QUrl::port(), QUrl::queryItems(), QUrl::removeAllEncodedQueryItems(), QUrl::removeEncodedQueryItem(), QUrl::resolved(), QUrl::scheme(), QUrl::setAuthority(), QUrl::setEncodedFragment(), QUrl::setEncodedPassword(), QUrl::setEncodedPath(), QUrl::setEncodedQuery(), QUrl::setEncodedQueryItems(), QUrl::setEncodedUrl(), QUrl::setEncodedUserName(), QUrl::setFragment(), QUrl::setHost(), QUrl::setPassword(), QUrl::setPath(), QUrl::setPort(), QUrl::setQueryDelimiters(), QUrl::setQueryItems(), QUrl::setScheme(), QUrl::setUrl(), QUrl::setUserInfo(), QUrl::setUserName(), QUrl::toEncoded(), QUrl::toLocalFile(), QUrl::toString(), QUrl::userInfo(), and QUrl::userName().
char QUrlPrivate::pairDelimiter |
Definition at line 379 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), clear(), queryItem(), QUrl::queryPairDelimiter(), QUrl::setEncodedQueryItems(), QUrl::setQueryDelimiters(), and QUrl::setQueryItems().
QUrl::ParsingMode QUrlPrivate::parsingMode |
Definition at line 371 of file qurl.cpp.
Referenced by QUrl::QUrl().
QString QUrlPrivate::password |
Definition at line 358 of file qurl.cpp.
Referenced by clear(), ensureEncodedParts(), QUrl::isEmpty(), QUrl::password(), QUrl::setEncodedPassword(), setEncodedUserInfo(), QUrl::setPassword(), setUserInfo(), toEncoded(), userInfo(), and validate().
QString QUrlPrivate::path |
Definition at line 360 of file qurl.cpp.
Referenced by clear(), ensureEncodedParts(), QUrl::isEmpty(), parse(), QUrl::path(), QUrl::resolved(), QUrl::setEncodedPath(), QUrl::setPath(), and validate().
int QUrlPrivate::port |
Definition at line 370 of file qurl.cpp.
Referenced by authority(), clear(), QUrl::isEmpty(), parse(), QUrl::port(), QUrl::resolved(), setAuthority(), QUrl::setPort(), toEncoded(), and validate().
QByteArray QUrlPrivate::query |
Definition at line 361 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), QUrl::allEncodedQueryItemValues(), QUrl::allQueryItemValues(), clear(), QUrl::encodedQuery(), QUrl::encodedQueryItems(), QUrl::encodedQueryItemValue(), QUrl::hasEncodedQueryItem(), QUrl::isEmpty(), normalized(), parse(), queryItem(), QUrl::queryItems(), QUrl::removeAllEncodedQueryItems(), QUrl::removeEncodedQueryItem(), QUrl::resolved(), QUrl::setEncodedQuery(), QUrl::setEncodedQueryItems(), QUrl::setQueryItems(), toEncoded(), and QUrl::toString().
QAtomicInt QUrlPrivate::ref |
Definition at line 354 of file qurl.cpp.
Referenced by QUrl::clear(), QUrl::detach(), QUrl::isDetached(), QUrl::operator=(), QUrl::QUrl(), QUrlPrivate(), and QUrl::~QUrl().
QString QUrlPrivate::scheme |
Definition at line 356 of file qurl.cpp.
Referenced by clear(), QUrl::isEmpty(), QUrl::isLocalFile(), QUrl::isRelative(), normalized(), parse(), QUrl::resolved(), QUrl::scheme(), QUrl::setScheme(), toEncoded(), QUrl::toString(), and validate().
int QUrlPrivate::stateFlags |
Definition at line 387 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), QUrl::allEncodedQueryItemValues(), QUrl::allQueryItemValues(), QUrl::authority(), canonicalHost(), clear(), QUrl::encodedFragment(), QUrl::encodedPassword(), QUrl::encodedPath(), QUrl::encodedQuery(), QUrl::encodedQueryItems(), QUrl::encodedQueryItemValue(), QUrl::encodedUserName(), QUrl::fragment(), QUrl::hasEncodedQueryItem(), QUrl::hasFragment(), QUrl::hasQuery(), QUrl::host(), QUrl::isEmpty(), QUrl::isLocalFile(), QUrl::isParentOf(), QUrl::isRelative(), QUrl::isValid(), normalized(), QUrl::operator<(), QUrl::operator==(), parse(), QUrl::password(), QUrl::path(), QUrl::port(), QUrl::queryItems(), QUrl::removeAllEncodedQueryItems(), QUrl::removeEncodedQueryItem(), QUrl::resolved(), QUrl::scheme(), QUrl::setAuthority(), QUrl::setEncodedFragment(), QUrl::setEncodedPassword(), QUrl::setEncodedPath(), QUrl::setEncodedQuery(), QUrl::setEncodedQueryItems(), QUrl::setEncodedUserName(), QUrl::setFragment(), QUrl::setHost(), QUrl::setPassword(), QUrl::setPath(), QUrl::setPort(), QUrl::setQueryItems(), QUrl::setScheme(), QUrl::setUserInfo(), QUrl::setUserName(), toEncoded(), QUrl::toString(), QUrl::userInfo(), QUrl::userName(), and validate().
QString QUrlPrivate::userName |
Definition at line 357 of file qurl.cpp.
Referenced by clear(), ensureEncodedParts(), QUrl::isEmpty(), setEncodedUserInfo(), QUrl::setEncodedUserName(), setUserInfo(), QUrl::setUserName(), toEncoded(), userInfo(), QUrl::userName(), and validate().
char QUrlPrivate::valueDelimiter |
Definition at line 378 of file qurl.cpp.
Referenced by QUrl::addEncodedQueryItem(), QUrl::addQueryItem(), clear(), queryItem(), QUrl::queryValueDelimiter(), QUrl::setEncodedQueryItems(), QUrl::setQueryDelimiters(), and QUrl::setQueryItems().