|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QNetworkProxy.ProxyType>
com.trolltech.qt.network.QNetworkProxy.ProxyType
public static enum QNetworkProxy.ProxyType
This enum describes the types of network proxying provided in Qt.
While Socks5 proxying works for both Tcp and Udp sockets, Http proxying is limited to Tcp connections. Http proxying also doesn't support binding sockets.
Enum Constant Summary | |
---|---|
DefaultProxy
Proxy is determined based on the application proxy set using setApplicationProxy |
|
HttpProxy
Http proxying is used |
|
NoProxy
No proxying is used |
|
Socks5Proxy
Socks5 proxying is used |
Method Summary | |
---|---|
static QNetworkProxy.ProxyType |
resolve(int value)
|
int |
value()
|
static QNetworkProxy.ProxyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QNetworkProxy.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QNetworkProxy.ProxyType DefaultProxy
Proxy is determined based on the application proxy set using setApplicationProxy
public static final QNetworkProxy.ProxyType Socks5Proxy
Socks5 proxying is used
public static final QNetworkProxy.ProxyType NoProxy
No proxying is used
public static final QNetworkProxy.ProxyType HttpProxy
Http proxying is used
Method Detail |
---|
public static final QNetworkProxy.ProxyType[] values()
for(QNetworkProxy.ProxyType c : QNetworkProxy.ProxyType.values()) System.out.println(c);
public static QNetworkProxy.ProxyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QNetworkProxy.ProxyType resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |