QtBase  v6.3.1
Functions | Variables
src_corelib_io_qurl.cpp File Reference

Go to the source code of this file.

Functions

bool checkUrl (const QUrl &url)
 [1] More...
 
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] More...
 
 qDebug ()<< QUrl("main.qml").isRelative()
 [7] More...
 
qDebug()<< QUrl("file copy setQuery (copy.query(QUrl::FullyDecoded), QUrl::DecodedMode)
 
url setScheme ("ftp")
 
const QUrl url ("/tmp/Mambo %235%3F.mp3")
 [14] More...
 
url setScheme (QString())
 [17] More...
 

Variables

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

Function Documentation

◆ checkUrl()

bool checkUrl ( const QUrl url)

[1]

[2]

Definition at line 63 of file src_corelib_io_qurl.cpp.

Here is the call graph for this function:

◆ 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()
Here is the caller graph for this function:

◆ 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/2]

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

[14]

[15]

◆ url() [2/2]

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

[6]

[7]

Variable Documentation

◆ __pad0__

http __pad0__

[3]

[4]

Definition at line 81 of file src_corelib_io_qurl.cpp.

◆ ba

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

[5]

[6]

Definition at line 94 of file src_corelib_io_qurl.cpp.

◆ baseUrl

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

Definition at line 167 of file src_corelib_io_qurl.cpp.

◆ sock

QTcpSocket sock

[2]

[3]

Definition at line 75 of file src_corelib_io_qurl.cpp.

◆ url

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

[0]

[18]

[14]

[10]

[6]

[1]

[7]

[11]

[15]

[16] [16] [17]

[19]

Definition at line 58 of file src_corelib_io_qurl.cpp.