115 #ifndef QT_NO_NETWORKPROXY 119 switch (proxy->
type()) {
145 return "http-connection:" + result;
QNetworkProxy::ProxyType type() const
Returns the proxy type for this instance.
The QByteArray class provides an array of bytes.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QUrl class provides a convenient interface for working with URLs.
void setHost(const QString &host)
Sets the host of the URL to host.
int port() const
Returns the port of the URL, or -1 if the port is unspecified.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QByteArray toEncoded(FormattingOptions options=None) const
Returns the encoded representation of the URL if it's valid; otherwise an empty QByteArray is returne...
QString scheme() const
Returns the scheme of the URL.
void setPort(int port)
Sets the port of the URL to port.
QString toLower() const Q_REQUIRED_RESULT
Returns a lowercase copy of the string.
quint16 port() const
Returns the port of the proxy host.
void setScheme(const QString &scheme)
Sets the scheme of the URL to scheme.
QString user() const
Returns the user name used for authentication.
void setUserName(const QString &userName)
Sets the URL's user name to userName.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
void setEncodedQuery(const QByteArray &query)
Sets the query string of the URL to query.
QString hostName() const
Returns the host name of the proxy host.