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
src_corelib_io_qurl.cpp File Reference

(88e41fd03481d490e7fcf9429849c8fa5a5743e5)

Go to the source code of this file.

Functions

QUrl url ("https://example.com")
 [constructor-url-reference]
 
QUrl url ("http://www.example.com/List of holidays.xml")
 [constructor-url]
 
bool checkUrl (const QUrl &url)
 [1]
 
sock connectToHost (url.host(), url.port(80))
 
 qDebug (baseUrl.resolved(relativeUrl).toString())
 
 qDebug (ba.constData())
 
QUrl url ("http://qt-project.org/support/file.html")
 [6]
 
 qDebug ()<< QUrl("main.qml").isRelative()
 [7]
 
qDebug()<< QUrl("file copy setQuery (copy.query(QUrl::FullyDecoded), QUrl::DecodedMode)
 
url setScheme ("ftp")
 
const QUrl url ("/tmp/Mambo %235%3F.mp3")
 [14]
 
url setScheme (QString())
 [17]
 

Variables

QUrl url ("example.com") = QUrl::fromEncoded("http://qt-project.org/List%20of%20holidays.xml")
 [constructor-url-reference]
 
QTcpSocket sock
 [2]
 
http __pad0__
 [3]
 
QByteArray ba = QUrl::toPercentEncoding("{a fishy string?}", "{}", "s")
 [5]
 
QUrl baseUrl = QUrl("file:/home/user/")
 

Function Documentation

◆ checkUrl()

bool checkUrl ( const QUrl & url)

[1]

[2]

Definition at line 24 of file src_corelib_io_qurl.cpp.

◆ connectToHost()

sock connectToHost ( url. host(),
url. port80 )

◆ qDebug() [1/3]

qDebug ( )

[7]

[11]

[8]

[12] [13] [14]

[7]

[toString]

◆ qDebug() [2/3]

qDebug ( ba. constData())

◆ qDebug() [3/3]

qDebug ( baseUrl. resolvedrelativeUrl).toString()

◆ setQuery()

qDebug()<< QUrl("file copy setQuery ( copy. queryQUrl::FullyDecoded,
QUrl::DecodedMode  )

◆ setScheme() [1/2]

url setScheme ( "ftp" )

◆ setScheme() [2/2]

url setScheme ( QString() )

[17]

[18]

◆ url() [1/4]

const QUrl url ( "/tmp/Mambo %235%3F.mp3" )

[14]

[15]

◆ url() [2/4]

QUrl url ( "http://qt-project.org/support/file.html" )

[6]

[7]

◆ url() [3/4]

QUrl url ( "http://www.example.com/List of holidays.xml" )

[constructor-url]

[0]

◆ url() [4/4]

QUrl url ( "https://example.com" )

[constructor-url-reference]

[constructor-url]

Variable Documentation

◆ __pad0__

http __pad0__

[3]

[4]

Definition at line 42 of file src_corelib_io_qurl.cpp.

◆ ba

QByteArray ba = QUrl::toPercentEncoding("{a fishy string?}", "{}", "s")

[5]

[6]

Definition at line 55 of file src_corelib_io_qurl.cpp.

◆ baseUrl

QUrl baseUrl = QUrl("file:/home/user/")

Definition at line 128 of file src_corelib_io_qurl.cpp.

◆ sock

QTcpSocket sock

[2]

[3]

Definition at line 36 of file src_corelib_io_qurl.cpp.

◆ url

QUrl url ( "example.com" ) = QUrl::fromEncoded("http://qt-project.org/List%20of%20holidays.xml")

[constructor-url-reference]

[18]

[14]

[10]

[6]

[constructor-url]

[0]

[1]

[7]

[11]

[15]

[16] [16] [17]

[19]

Definition at line 19 of file src_corelib_io_qurl.cpp.