com.trolltech.qt.network
Class QNetworkProxyQuery.QueryType

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.network.QNetworkProxyQuery.QueryType
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QNetworkProxyQuery

public static final class QNetworkProxyQuery.QueryType
extends java.lang.Enum
implements QtEnumerator

Describes the type of one QNetworkProxyQuery query.

See also:
queryType(), and setQueryType().

See Also:
Serialized Form

Field Summary
static QNetworkProxyQuery.QueryType TcpServer
          a TCP server that listens for incoming connections from the network
static QNetworkProxyQuery.QueryType TcpSocket
          a normal, outgoing TCP socket
static QNetworkProxyQuery.QueryType UdpSocket
          a datagram-based UDP socket, which could send to multiple destinations
static QNetworkProxyQuery.QueryType UrlRequest
          a more complex request which involves loading of a URL
 
Method Summary
static QNetworkProxyQuery.QueryType resolve(int value)
          Returns the QNetworkProxyQuery$QueryType constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QNetworkProxyQuery.QueryType valueOf(java.lang.String name)
           
static QNetworkProxyQuery.QueryType[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TcpSocket

public static final QNetworkProxyQuery.QueryType TcpSocket
a normal, outgoing TCP socket


UdpSocket

public static final QNetworkProxyQuery.QueryType UdpSocket
a datagram-based UDP socket, which could send to multiple destinations


TcpServer

public static final QNetworkProxyQuery.QueryType TcpServer
a TCP server that listens for incoming connections from the network


UrlRequest

public static final QNetworkProxyQuery.QueryType UrlRequest
a more complex request which involves loading of a URL

Method Detail

values

public static QNetworkProxyQuery.QueryType[] values()

valueOf

public static QNetworkProxyQuery.QueryType valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QNetworkProxyQuery.QueryType resolve(int value)
Returns the QNetworkProxyQuery$QueryType constant with the specified int.