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>.
Loading...
Searching...
No Matches
qtest_network.h File Reference

(c14f399d2ab42fa612121e805d8ec1e63747ccd6)

#include <QtTest/qtesttostring.h>
#include <QtNetwork/QHostAddress>
#include <QtNetwork/QNetworkCookie>
#include <QtNetwork/QNetworkReply>
+ Include dependency graph for qtest_network.h:

Go to the source code of this file.

Namespaces

namespace  QTest
 [15]
 

Macros

#define QT_NETWORK_LIB
 

Functions

template<>
char * QTest::toString< QHostAddress > (const QHostAddress &addr)
 
char * toString (QNetworkReply::NetworkError code)
 
char * toString (const QNetworkCookie &cookie)
 
char * toString (const QList< QNetworkCookie > &list)
 

Macro Definition Documentation

◆ QT_NETWORK_LIB

#define QT_NETWORK_LIB

Definition at line 11 of file qtest_network.h.

Function Documentation

◆ toString() [1/3]

char * toString ( const QList< QNetworkCookie > & list)
inline

Definition at line 64 of file qtest_network.h.

References QByteArray::chop(), QList< T >::isEmpty(), list, and QTest::toString().

+ Here is the call graph for this function:

◆ toString() [2/3]

char * toString ( const QNetworkCookie & cookie)
inline

Definition at line 59 of file qtest_network.h.

References QNetworkCookie::toRawForm(), and QTest::toString().

+ Here is the call graph for this function:

◆ toString() [3/3]

char * toString ( QNetworkReply::NetworkError code)
inline

Definition at line 48 of file qtest_network.h.

References mo, and qstrdup().

+ Here is the call graph for this function: