API reference - Class QNetworkProxyQuery

Notation used in Ruby API documentation

Description: Binding of QNetworkProxyQuery

Public constructors

new QNetworkProxyQuerynewConstructor QNetworkProxyQuery::QNetworkProxyQuery()
new QNetworkProxyQuerynew(const QUrl requestUrl,
const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::UrlRequest)
Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QUrl &requestUrl, QNetworkProxyQuery::QueryType queryType)
new QNetworkProxyQuerynew(string hostname,
int port,
string protocolTag = QString(),
const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::TcpSocket)
Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QString &hostname, int port, const QString &protocolTag, QNetworkProxyQuery::QueryType queryType)
new QNetworkProxyQuerynew(unsigned short bindPort,
string protocolTag = QString(),
const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::TcpServer)
Constructor QNetworkProxyQuery::QNetworkProxyQuery(quint16 bindPort, const QString &protocolTag, QNetworkProxyQuery::QueryType queryType)
new QNetworkProxyQuerynew(const QNetworkProxyQuery other)Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QNetworkProxyQuery &other)

Public methods

[const]bool!=(const QNetworkProxyQuery other)Method bool QNetworkProxyQuery::operator!=(const QNetworkProxyQuery &other)
[const]bool==(const QNetworkProxyQuery other)Method bool QNetworkProxyQuery::operator==(const QNetworkProxyQuery &other)
QNetworkProxyQueryassign(const QNetworkProxyQuery other)Method QNetworkProxyQuery &QNetworkProxyQuery::operator=(const QNetworkProxyQuery &other)
[const]voidassign(const QNetworkProxyQuery other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QNetworkProxyQuerydupCreates a copy of self
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]intlocalPortMethod int QNetworkProxyQuery::localPort()
voidlocalPort=(int port)Method void QNetworkProxyQuery::setLocalPort(int port)
[const]stringpeerHostNameMethod QString QNetworkProxyQuery::peerHostName()
voidpeerHostName=(string hostname)Method void QNetworkProxyQuery::setPeerHostName(const QString &hostname)
[const]intpeerPortMethod int QNetworkProxyQuery::peerPort()
voidpeerPort=(int port)Method void QNetworkProxyQuery::setPeerPort(int port)
[const]stringprotocolTagMethod QString QNetworkProxyQuery::protocolTag()
voidprotocolTag=(string protocolTag)Method void QNetworkProxyQuery::setProtocolTag(const QString &protocolTag)
[const]QNetworkProxyQuery_QueryTypequeryTypeMethod QNetworkProxyQuery::QueryType QNetworkProxyQuery::queryType()
voidqueryType=(const QNetworkProxyQuery_QueryType type)Method void QNetworkProxyQuery::setQueryType(QNetworkProxyQuery::QueryType type)
voidsetLocalPort(int port)Method void QNetworkProxyQuery::setLocalPort(int port)
voidsetPeerHostName(string hostname)Method void QNetworkProxyQuery::setPeerHostName(const QString &hostname)
voidsetPeerPort(int port)Method void QNetworkProxyQuery::setPeerPort(int port)
voidsetProtocolTag(string protocolTag)Method void QNetworkProxyQuery::setProtocolTag(const QString &protocolTag)
voidsetQueryType(const QNetworkProxyQuery_QueryType type)Method void QNetworkProxyQuery::setQueryType(QNetworkProxyQuery::QueryType type)
voidsetUrl(const QUrl url)Method void QNetworkProxyQuery::setUrl(const QUrl &url)
[const]QUrlurlMethod QUrl QNetworkProxyQuery::url()
voidurl=(const QUrl url)Method void QNetworkProxyQuery::setUrl(const QUrl &url)

Public static methods and constants

QNetworkProxyQuery_QueryTypeTcpServerEnum constant QNetworkProxyQuery::TcpServer
QNetworkProxyQuery_QueryTypeTcpSocketEnum constant QNetworkProxyQuery::TcpSocket
QNetworkProxyQuery_QueryTypeUdpSocketEnum constant QNetworkProxyQuery::UdpSocket
QNetworkProxyQuery_QueryTypeUrlRequestEnum constant QNetworkProxyQuery::UrlRequest

Detailed description

[const] bool !=(const QNetworkProxyQuery other)

Description: Method bool QNetworkProxyQuery::operator!=(const QNetworkProxyQuery &other)

[const] bool ==(const QNetworkProxyQuery other)

Description: Method bool QNetworkProxyQuery::operator==(const QNetworkProxyQuery &other)

[static] QNetworkProxyQuery_QueryType TcpServer

Description: Enum constant QNetworkProxyQuery::TcpServer

[static] QNetworkProxyQuery_QueryType TcpSocket

Description: Enum constant QNetworkProxyQuery::TcpSocket

[static] QNetworkProxyQuery_QueryType UdpSocket

Description: Enum constant QNetworkProxyQuery::UdpSocket

[static] QNetworkProxyQuery_QueryType UrlRequest

Description: Enum constant QNetworkProxyQuery::UrlRequest

QNetworkProxyQuery assign(const QNetworkProxyQuery other)

Description: Method QNetworkProxyQuery &QNetworkProxyQuery::operator=(const QNetworkProxyQuery &other)

[const] void assign(const QNetworkProxyQuery other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QNetworkProxyQuery dup

Description: Creates a copy of self

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] int localPort

Description: Method int QNetworkProxyQuery::localPort()

void localPort=(int port)

Description: Method void QNetworkProxyQuery::setLocalPort(int port)

[static] new QNetworkProxyQuery new

Description: Constructor QNetworkProxyQuery::QNetworkProxyQuery()

This method creates an object of class QNetworkProxyQuery.

[static] new QNetworkProxyQuery new(const QUrl requestUrl,const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::UrlRequest)

Description: Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QUrl &requestUrl, QNetworkProxyQuery::QueryType queryType)

This method creates an object of class QNetworkProxyQuery.

[static] new QNetworkProxyQuery new(string hostname,int port,string protocolTag = QString(),const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::TcpSocket)

Description: Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QString &hostname, int port, const QString &protocolTag, QNetworkProxyQuery::QueryType queryType)

This method creates an object of class QNetworkProxyQuery.

[static] new QNetworkProxyQuery new(unsigned short bindPort,string protocolTag = QString(),const QNetworkProxyQuery_QueryType queryType = QNetworkProxyQuery::TcpServer)

Description: Constructor QNetworkProxyQuery::QNetworkProxyQuery(quint16 bindPort, const QString &protocolTag, QNetworkProxyQuery::QueryType queryType)

This method creates an object of class QNetworkProxyQuery.

[static] new QNetworkProxyQuery new(const QNetworkProxyQuery other)

Description: Constructor QNetworkProxyQuery::QNetworkProxyQuery(const QNetworkProxyQuery &other)

This method creates an object of class QNetworkProxyQuery.

[const] string peerHostName

Description: Method QString QNetworkProxyQuery::peerHostName()

void peerHostName=(string hostname)

Description: Method void QNetworkProxyQuery::setPeerHostName(const QString &hostname)

[const] int peerPort

Description: Method int QNetworkProxyQuery::peerPort()

void peerPort=(int port)

Description: Method void QNetworkProxyQuery::setPeerPort(int port)

[const] string protocolTag

Description: Method QString QNetworkProxyQuery::protocolTag()

void protocolTag=(string protocolTag)

Description: Method void QNetworkProxyQuery::setProtocolTag(const QString &protocolTag)

[const] QNetworkProxyQuery_QueryType queryType

Description: Method QNetworkProxyQuery::QueryType QNetworkProxyQuery::queryType()

void queryType=(const QNetworkProxyQuery_QueryType type)

Description: Method void QNetworkProxyQuery::setQueryType(QNetworkProxyQuery::QueryType type)

void setLocalPort(int port)

Description: Method void QNetworkProxyQuery::setLocalPort(int port)

void setPeerHostName(string hostname)

Description: Method void QNetworkProxyQuery::setPeerHostName(const QString &hostname)

void setPeerPort(int port)

Description: Method void QNetworkProxyQuery::setPeerPort(int port)

void setProtocolTag(string protocolTag)

Description: Method void QNetworkProxyQuery::setProtocolTag(const QString &protocolTag)

void setQueryType(const QNetworkProxyQuery_QueryType type)

Description: Method void QNetworkProxyQuery::setQueryType(QNetworkProxyQuery::QueryType type)

void setUrl(const QUrl url)

Description: Method void QNetworkProxyQuery::setUrl(const QUrl &url)

[const] QUrl url

Description: Method QUrl QNetworkProxyQuery::url()

void url=(const QUrl url)

Description: Method void QNetworkProxyQuery::setUrl(const QUrl &url)