The following members of class QNetworkProxyQuery are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
(obsolete) |
QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, const QUrl &requestUrl, QNetworkProxyQuery::QueryType queryType = UrlRequest) |
(obsolete) |
QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, const QString &hostname, int port, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = TcpSocket) |
(obsolete) |
QNetworkProxyQuery(const QNetworkConfiguration &networkConfiguration, quint16 bindPort, const QString &protocolTag = QString(), QNetworkProxyQuery::QueryType queryType = TcpServer) |
(obsolete) QNetworkConfiguration |
networkConfiguration() const |
(obsolete) void |
setNetworkConfiguration(const QNetworkConfiguration &networkConfiguration) |
Constructs a QNetworkProxyQuery with the URL requestUrl and sets the query type to queryType. The specified networkConfiguration parameter is ignored.
See also protocolTag(), peerHostName(), peerPort(), and networkConfiguration().
Constructs a QNetworkProxyQuery of type queryType and sets the protocol tag to be protocolTag. This constructor is suitable for QNetworkProxyQuery::TcpSocket queries, because it sets the peer hostname to hostname and the peer's port number to port. The specified networkConfiguration parameter is ignored.
See also networkConfiguration().
Constructs a QNetworkProxyQuery of type queryType and sets the protocol tag to be protocolTag. This constructor is suitable for QNetworkProxyQuery::TcpSocket queries because it sets the local port number to bindPort. The specified networkConfiguration parameter is ignored.
Note that bindPort is of type quint16 to indicate the exact port number that is requested. The value of -1 (unknown) is not allowed in this context.
See also localPort() and networkConfiguration().
Returns QNetworkConfiguration().
See also setNetworkConfiguration().
This function does nothing. The specified networkConfiguration parameter is ignored.
See also networkConfiguration().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: