qutim_sdk_0_3::Socks5ProxyInfo Class Reference

#include <networkproxy.h>

+ Inheritance diagram for qutim_sdk_0_3::Socks5ProxyInfo:

Public Member Functions

virtual LocalizedString description ()
virtual QString name ()
virtual void saveSettings (Config config, const DataItem &settings)
virtual DataItem settings (const Config &config)
- Public Member Functions inherited from qutim_sdk_0_3::NetworkProxyInfo
 NetworkProxyInfo ()
virtual ~NetworkProxyInfo ()
virtual QIcon icon ()

Static Public Member Functions

static Socks5ProxyInfoinstance ()
- Static Public Member Functions inherited from qutim_sdk_0_3::NetworkProxyInfo
static QList< NetworkProxyInfo * > allProxies ()
static NetworkProxyInfoproxy (const QString &name)

Protected Member Functions

 Socks5ProxyInfo ()
- Protected Member Functions inherited from qutim_sdk_0_3::NetworkProxyInfo
virtual void virtual_hook (int id, void *data)

Detailed Description

Default implementation of sock5 proxy.

Constructor & Destructor Documentation

qutim_sdk_0_3::Socks5ProxyInfo::Socks5ProxyInfo ( )

Member Function Documentation

virtual LocalizedString qutim_sdk_0_3::Socks5ProxyInfo::description ( )

Returns the proxy description.

Implements qutim_sdk_0_3::NetworkProxyInfo.

static Socks5ProxyInfo* qutim_sdk_0_3::Socks5ProxyInfo::instance ( )

Returns a pointer to the sock5 proxy object.

virtual QString qutim_sdk_0_3::Socks5ProxyInfo::name ( )

Returns the unique proxy name.

When implementing a NetworkProxyInfo in a plugin, do not forget that the proxy name is unique. To avoid conflicts with other plugins always add prefix to the name. For instance: "jabber/http".

Implements qutim_sdk_0_3::NetworkProxyInfo.

virtual void qutim_sdk_0_3::Socks5ProxyInfo::saveSettings ( Config  config,
const DataItem settings 

Saves the setting to the config.

Implements qutim_sdk_0_3::NetworkProxyInfo.

virtual DataItem qutim_sdk_0_3::Socks5ProxyInfo::settings ( const Config config)

Returns the settings data form for the proxy.

You may want to consider to use NetworkProxyManager::settings(Account*) instead of this method.

See Also
NetworkProxyManager::settings(), NetworkProxyManager::settings(Account*)

Implements qutim_sdk_0_3::NetworkProxyInfo.

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

Generated by Doxygen