以下成員源於類 QNetworkProxyQuery 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(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 ) |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
構造 QNetworkProxyQuery with the URL requestUrl and sets the query type to queryType 。指定 networkConfiguration 參數被忽略。
另請參閱 protocolTag (), peerHostName (), peerPort (),和 networkConfiguration ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
構造 QNetworkProxyQuery 類型 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 。指定 networkConfiguration 參數被忽略。
另請參閱 networkConfiguration ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
構造 QNetworkProxyQuery 類型 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 。指定 networkConfiguration 參數被忽略。
注意, 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.
另請參閱 localPort () 和 networkConfiguration ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns QNetworkConfiguration().
另請參閱 setNetworkConfiguration ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
This function does nothing. The specified networkConfiguration 參數被忽略。
另請參閱 networkConfiguration ().