QNetworkProxyQuery Class Reference

QNetworkProxyQuery Class Reference

#include <qnetworkproxy.h>

Class Description

Definition at line 60 of file 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 (const QNetworkConfiguration &networkConfiguration, const QUrl &requestUrl, QueryType queryType=UrlRequest)
 
 QNetworkProxyQuery (const QNetworkConfiguration &networkConfiguration, const QString &hostname, int port, const QString &protocolTag=QString(), QueryType queryType=TcpSocket)
 
 QNetworkProxyQuery (const QNetworkConfiguration &networkConfiguration, quint16 bindPort, const QString &protocolTag=QString(), QueryType queryType=TcpServer)
 
 ~QNetworkProxyQuery ()
 
QNetworkProxyQueryoperator= (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)
 
QNetworkConfiguration networkConfiguration () const
 
void setNetworkConfiguration (const QNetworkConfiguration &networkConfiguration)
 

Member Enumeration Documentation

enum QueryType
Enumerator
TcpSocket 
UdpSocket 
TcpServer 
UrlRequest 

Definition at line 63 of file qnetworkproxy.h.

Constructor & Destructor Documentation

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 QNetworkConfiguration networkConfiguration,
const QUrl requestUrl,
QueryType  queryType = UrlRequest 
)
QNetworkProxyQuery ( const QNetworkConfiguration networkConfiguration,
const QString hostname,
int  port,
const QString protocolTag = QString(),
QueryType  queryType = TcpSocket 
)
QNetworkProxyQuery ( const QNetworkConfiguration networkConfiguration,
quint16  bindPort,
const QString protocolTag = QString(),
QueryType  queryType = TcpServer 
)

Member Function Documentation

QNetworkProxyQuery& operator= ( const QNetworkProxyQuery other)
bool operator== ( const QNetworkProxyQuery other) const
bool operator!= ( const QNetworkProxyQuery other) const
inline

Definition at line 90 of file qnetworkproxy.h.

91  { 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)
QNetworkConfiguration networkConfiguration ( ) const
void setNetworkConfiguration ( const QNetworkConfiguration networkConfiguration)

The documentation for this class was generated from the following file: