libqutim  0.3.2.0
qutim_sdk_0_3::NetworkProxyManager Class Reference

#include <networkproxy.h>

List of all members.

Public Member Functions

 NetworkProxyManager (Protocol *protocol)
virtual ~NetworkProxyManager ()
Protocolprotocol ()
virtual QList< NetworkProxyInfo * > proxies ()=0
virtual void setProxy (Account *account, NetworkProxyInfo *proxy, const DataItem &settings)=0

Static Public Member Functions

static QList
< NetworkProxyManager * > 
allManagers ()
static NetworkProxyManagerget (Protocol *protocol)
static DataItem settings ()
static DataItem settings (Account *account)
static QNetworkProxy toNetworkProxy (const DataItem &settings)

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Detailed Description

The NetworkProxyManager class provides an interface to manipulate proxies.

The class is used to get the list of proxies and to set a new proxy to be used by an account.


Constructor & Destructor Documentation

Constructs a new NetworkProxyManager with the given protocol.

Destroyes the object.


Member Function Documentation

Returns all proxy managers.

Returns the NetworkProxyManager for the protocol.

Returns the list of proxies.

virtual void qutim_sdk_0_3::NetworkProxyManager::setProxy ( Account account,
NetworkProxyInfo proxy,
const DataItem settings 
) [pure virtual]

Sets the new proxy to be used by the account.

Parameters:
settingsthe settings data form this proxy will be initialized with.

Returns global proxy settings.

Returns proxy settings for the account.

If the account uses global proxy settings, global proxy settings will be returned.

See also:
settings().
static QNetworkProxy qutim_sdk_0_3::NetworkProxyManager::toNetworkProxy ( const DataItem settings) [static]

Converts the proxy settings to QNetworkProxy.

virtual void qutim_sdk_0_3::NetworkProxyManager::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

The documentation for this class was generated from the following file: