Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qurl.h"
#include "qurl_p.h"
#include "qplatformdefs.h"
#include "qstring.h"
#include "qstringlist.h"
#include "qdebug.h"
#include "qhash.h"
#include "qdatastream.h"
#include "private/qipaddress_p.h"
#include "qurlquery.h"
#include "private/qdir_p.h"
#include <private/qtools_p.h>
Go to the source code of this file.
Classes | |
class | QUrlPrivate |
struct | QUrlPrivate::Error |
Variables | |
static const ushort | userNameInIsolation [] |
static const ushort *const | passwordInIsolation = userNameInIsolation + 1 |
static const ushort *const | pathInIsolation = userNameInIsolation + 5 |
static const ushort *const | queryInIsolation = userNameInIsolation + 6 |
static const ushort *const | fragmentInIsolation = userNameInIsolation + 7 |
static const ushort | userNameInUserInfo [] |
static const ushort *const | passwordInUserInfo = userNameInUserInfo + 1 |
static const ushort | userNameInAuthority [] |
static const ushort *const | passwordInAuthority = userNameInAuthority + 1 |
static const ushort | userNameInUrl [] |
static const ushort *const | passwordInUrl = userNameInUrl + 1 |
static const ushort *const | pathInUrl = userNameInUrl + 5 |
static const ushort *const | queryInUrl = userNameInUrl + 6 |
static const ushort *const | fragmentInUrl = userNameInUrl + 6 |
Definition at line 3701 of file qurl.cpp.
References ftpScheme(), QStringView::mid(), QUrl::path(), QUrl::PrettyDecoded, QUrl::scheme(), QUrl::setPath(), QUrl::TolerantMode, and url.
Referenced by QUrl::fromUserInput().
|
inlinestatic |
Definition at line 3584 of file qurl.cpp.
References component().
Referenced by QUrl::errorString().
|
inlinestatic |
Definition at line 822 of file qurl.cpp.
References QString::detach(), QString::isNull(), QUrl::PrettyDecoded, and qt_urlRecode().
Referenced by QUrlPrivate::appendFragment(), QUrlPrivate::appendPassword(), QUrlPrivate::appendPath(), QUrlPrivate::appendQuery(), and QUrlPrivate::appendUserName().
Qt::weak_ordering compareThreeWay | ( | const QUrl & | lhs, |
const QUrl & | rhs ) |
Definition at line 3079 of file qurl.cpp.
Referenced by QtPrivate::CompareThreeWayTester::compareThreeWayNoexcept(), and qCompareThreeWay().
|
static |
Definition at line 3517 of file qurl.cpp.
References QUrlPrivate::AuthorityAbsentAndPathIsDoubleSlash, QUrlPrivate::AuthorityPresentAndPathIsRelative, QUrlPrivate::HostMissingEndBracket, QUrlPrivate::InvalidCharacterInIPv6Error, QUrlPrivate::InvalidFragmentError, QUrlPrivate::InvalidIPv4AddressError, QUrlPrivate::InvalidIPv6AddressError, QUrlPrivate::InvalidIPvFutureError, QUrlPrivate::InvalidPasswordError, QUrlPrivate::InvalidPathError, QUrlPrivate::InvalidPortError, QUrlPrivate::InvalidQueryError, QUrlPrivate::InvalidRegNameError, QUrlPrivate::InvalidSchemeError, QUrlPrivate::InvalidUserNameError, QUrlPrivate::NoError, QUrlPrivate::PortEmptyError, QStringLiteral, and QUrlPrivate::RelativeUrlPathContainsColonBeforeSlash.
Referenced by QQmlJS::Dom::JsFile::JsFile(), QQmlJS::Dom::QmlFile::QmlFile(), QQuickVisualTestUtils::QQuickApplicationHelper::QQuickApplicationHelper(), QNetworkReplyHttpImplPrivate::_q_error(), QQnxImageCapture::capture(), QQuickVisualTestUtils::compareImages(), QQmlComponentPrivate::completeLoadFromModule(), QQmlJS::AST::PatternElement::convertLiteralToAssignmentPattern(), QQmlJS::AST::ArrayPattern::convertLiteralToAssignmentPattern(), QQmlJS::AST::ObjectPattern::convertLiteralToAssignmentPattern(), QQmlJS::AST::PatternProperty::convertLiteralToAssignmentPattern(), QWindowsShellItem::copyData(), createDirectory(), QQuickAbstractAnimationPrivate::createProperty(), createSymbolicLink(), createTemporaryItemCopy(), QQuickPropertyAnimation::createTransitionActions(), deploy(), deployPlugin(), deployTranslations(), deployWebEngineCore(), deployWebProcess(), QWindowsNativeOpenFileDialog::dialogResult(), AVFImageCapture::doCapture(), QNetworkReplyHttpImplPrivate::error(), QNetworkReplyImplPrivate::error(), QUrl::errorString(), findDependentLibraries(), findDependentQtLibraries(), findPluginNames(), findSharedLibraries(), QOpenGLConfig::gpuFeatures(), QOpenGLConfig::gpuFeatures(), QQuickTest::initView(), QV4::ExecutableCompilationUnit::instantiate(), itemToDialogUrl(), QMimeXMLProvider::load(), main(), QDomDocument::ParseResult::operator bool(), QMimeTypeParserBase::parse(), parseArguments(), parseEarlyArguments(), QMimeTypeParserBase::parseNumber(), patchQtCore(), Http2::qt_error(), queryQtPaths(), readGpuFeatures(), readGpuFeatures(), readGpuFeatures(), readPeExecutable(), runProcess(), runQmlImportScanner(), QNearFieldManager::stopTargetDetection(), updateFile(), updateFile(), updateFile(), updateLibrary(), and RCCFileInfo::writeDataBlob().
|
inlinestatic |
Definition at line 425 of file qurl.cpp.
References QStringLiteral.
Referenced by QUrl::fromLocalFile(), QAndroidPlatformServices::openUrl(), and QUrlPrivate::setScheme().
Definition at line 3317 of file qurl.cpp.
References i.
Referenced by QUrl::fromLocalFile().
|
inlinestatic |
Definition at line 420 of file qurl.cpp.
References QStringLiteral.
Referenced by adjustFtpPath(), and QUrl::fromUserInput().
|
inlinestatic |
Definition at line 414 of file qurl.cpp.
References QtMiscUtils::isAsciiDigit().
Referenced by QUrlPrivate::validateComponent().
|
static |
Definition at line 3711 of file qurl.cpp.
References QString::begin(), QString::end(), QString::isEmpty(), QIPAddressUtils::parseIp6(), and text.
Referenced by QUrl::fromUserInput().
Definition at line 3509 of file qurl.cpp.
References d, QUrl::toDisplayString(), and url.
Definition at line 803 of file qurl.cpp.
Referenced by QUrl::setFragment(), QUrl::setHost(), QUrl::setPassword(), QUrl::setPath(), QUrl::setQuery(), and QUrl::setUserName().
|
static |
Definition at line 1227 of file qurl.cpp.
References begin(), QStringView::constBegin(), QStringView::constEnd(), decode, QStringView::indexOf(), QStringView::isEmpty(), QStringView::lastIndexOf(), QStringView::mid(), QIPAddressUtils::parseIp6(), QUrl::PrettyDecoded, qt_urlRecode(), QString::reserve(), ret, QString::size(), QUrl::TolerantMode, QIPAddressUtils::toString(), and QStringView::truncate().
Referenced by is_valid_domain_name(), QHostAddressPrivate::parse(), and QUrlPrivate::setHost().
|
static |
Definition at line 1182 of file qurl.cpp.
References begin(), QString::constBegin(), QString::constEnd(), QUrl::FullyDecoded, QtMiscUtils::isAsciiLetterOrNumber(), QString::isEmpty(), QtMiscUtils::isHexDigit(), qt_urlRecode(), QString::size(), and QUrl::TolerantMode.
Referenced by QUrlPrivate::setHost().
|
inlinestatic |
Definition at line 809 of file qurl.cpp.
References begin(), output, and qt_urlRecode().
Referenced by QUrlPrivate::setFragment(), QUrlPrivate::setPassword(), QUrlPrivate::setPath(), QUrlPrivate::setQuery(), and QUrlPrivate::setUserName().
Definition at line 1533 of file qurl.cpp.
References out.
Referenced by QUrl::resolved().
|
inlinestatic |
Definition at line 430 of file qurl.cpp.
References QStringLiteral.
Referenced by QUrl::fromLocalFile(), QUrlPrivate::setScheme(), and QUrlPrivate::toLocalFile().
|
inlinestatic |
Definition at line 435 of file qurl.cpp.
References QStringLiteral.
Referenced by QUrl::fromLocalFile(), and QUrlPrivate::toLocalFile().
|
static |
Definition at line 742 of file qurl.cpp.
Referenced by QUrlPrivate::appendFragment(), and QUrlPrivate::setFragment().
|
static |
Definition at line 801 of file qurl.cpp.
Referenced by QUrlPrivate::appendFragment().
|
static |
Definition at line 784 of file qurl.cpp.
Referenced by QUrlPrivate::appendUserInfo().
|
static |
Definition at line 739 of file qurl.cpp.
Referenced by QUrlPrivate::appendPassword(), and QUrlPrivate::setPassword().
|
static |
Definition at line 798 of file qurl.cpp.
Referenced by QUrlPrivate::appendPassword(), and QUrlPrivate::appendUserInfo().
|
static |
Definition at line 763 of file qurl.cpp.
Referenced by QUrlPrivate::appendUserInfo().
|
static |
Definition at line 740 of file qurl.cpp.
Referenced by QUrlPrivate::appendPath(), and QUrlPrivate::setPath().
|
static |
Definition at line 799 of file qurl.cpp.
Referenced by QUrlPrivate::appendPath().
|
static |
Definition at line 741 of file qurl.cpp.
Referenced by QUrlPrivate::appendQuery(), and QUrlPrivate::setQuery().
|
static |
Definition at line 800 of file qurl.cpp.
Referenced by QUrlPrivate::appendQuery().
|
static |
Definition at line 765 of file qurl.cpp.
Referenced by QUrlPrivate::appendUserInfo().
|
static |
Definition at line 720 of file qurl.cpp.
Referenced by QUrlPrivate::appendUserName(), and QUrlPrivate::setUserName().
|
static |
|
static |
Definition at line 744 of file qurl.cpp.
Referenced by QUrlPrivate::appendUserInfo().