Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QVPNFactory class creates QVPNClient instances. More...
#include <QVPNFactory>
The QVPNFactory class creates QVPNClient instances.
The virtual private network factory provides access to QVPNClient instances. create() should be used when a new VPN connection is required and instance() should be used to obtain a reference to an already existing VPN connection.
In addition QVPNFactory provides functionality to lookup and resolve VPN identifier. vpnIDs() returns a list of all known virtual private network connections known to Qt Extended and name() returns the human-readable name of a given connection.
QVPNFactory follows the factory pattern and creates QVPNClient instances. types() should be used to determine what types of VPN's are supported by a particular build of Qtopia.
See also QVPNClient.
Constructs a factory for virtual private network objects.
Requests a new virtual private network of type with the given parent. The returned VPN is a newly created and requires detailed configuration. If type is unknown this function returns a null pointer.
Instanciates a QVPNClient object for the virtual private network specified by vpnID with the given parent. If no VPN with vpnID exists this function returns a null pointer.
Returns the user-visible name of the VPN specified by vpnID. The function returns an empty string if vpnID is not a valid id.
Returns a list of all possible/supported virtual private network types.
Returns a list of all known virtual private networks.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |