Definition at line 59 of file qnetworkproxy.h.
#include <qnetworkproxy.h>
Public Types |
|
| enum | QueryType { TcpSocket, UdpSocket, TcpServer = 100, UrlRequest } |
Public Member Functions |
|
| QNetworkProxyQuery () | |
| QNetworkProxyQuery (const QUrl &requestUrl, QueryType queryType=UrlRequest) | |
| QNetworkProxyQuery (const QString &hostname, int port, const QString &protocolTag=QString(), QueryType queryType=TcpSocket) | |
| QNetworkProxyQuery (quint16 bindPort, const QString &protocolTag=QString(), QueryType queryType=TcpServer) | |
| QNetworkProxyQuery (const QNetworkProxyQuery &other) | |
| ~QNetworkProxyQuery () | |
| QNetworkProxyQuery & | operator= (const QNetworkProxyQuery &other) |
| bool | operator== (const QNetworkProxyQuery &other) const |
| bool | operator!= (const QNetworkProxyQuery &other) const |
| QueryType | queryType () const |
| void | setQueryType (QueryType type) |
| int | peerPort () const |
| void | setPeerPort (int port) |
| QString | peerHostName () const |
| void | setPeerHostName (const QString &hostname) |
| int | localPort () const |
| void | setLocalPort (int port) |
| QString | protocolTag () const |
| void | setProtocolTag (const QString &protocolTag) |
| QUrl | url () const |
| void | setUrl (const QUrl &url) |
| enum QueryType |
Definition at line 62 of file qnetworkproxy.h.
{
TcpSocket,
UdpSocket,
TcpServer = 100,
UrlRequest
};
| QNetworkProxyQuery | ( | const QUrl & | requestUrl, |
| QueryType | queryType =
UrlRequest |
||
| ) |
| QNetworkProxyQuery | ( | const QString & | hostname, |
| int | port, | ||
| const QString & | protocolTag = QString(), |
||
| QueryType | queryType =
TcpSocket |
||
| ) |
| QNetworkProxyQuery | ( | quint16 | bindPort, |
| const QString & | protocolTag = QString(), |
||
| QueryType | queryType =
TcpServer |
||
| ) |
| QNetworkProxyQuery | ( | const QNetworkProxyQuery & | other | ) |
| ~QNetworkProxyQuery | ( | ) |
| QNetworkProxyQuery& operator= | ( | const QNetworkProxyQuery & | other | ) |
| bool operator== | ( | const QNetworkProxyQuery & | other | ) | const |
| bool operator!= | ( | const QNetworkProxyQuery & | other | ) | const [inline] |
Definition at line 79 of file qnetworkproxy.h.
{ return !(*this == other); }
| QueryType queryType | ( | ) | const |
| void setQueryType | ( | QueryType | type | ) |
| int peerPort | ( | ) | const |
| void setPeerPort | ( | int | port | ) |
| QString peerHostName | ( | ) | const |
| void setPeerHostName | ( | const QString & | hostname | ) |
| int localPort | ( | ) | const |
| void setLocalPort | ( | int | port | ) |
| QString protocolTag | ( | ) | const |
| void setProtocolTag | ( | const QString & | protocolTag | ) |
| QUrl url | ( | ) | const |
| void setUrl | ( | const QUrl & | url | ) |