|
libqutim
0.3.2.0
|
#include <networkproxy.h>
Inheritance diagram for qutim_sdk_0_3::NetworkProxyInfo:Public Member Functions | |
| NetworkProxyInfo () | |
| virtual | ~NetworkProxyInfo () |
| virtual LocalizedString | description ()=0 |
| virtual QIcon | icon () |
| virtual QString | name ()=0 |
| virtual void | saveSettings (Config config, const DataItem &settings)=0 |
| virtual DataItem | settings (const Config &config)=0 |
Static Public Member Functions | |
| static QList< NetworkProxyInfo * > | allProxies () |
| static NetworkProxyInfo * | proxy (const QString &name) |
Protected Member Functions | |
| virtual void | virtual_hook (int id, void *data) |
The NetworkProxyInfo class describes a proxy type.
| qutim_sdk_0_3::NetworkProxyInfo::NetworkProxyInfo | ( | ) |
|
virtual |
|
static |
Return all supported proxies.
|
pure virtual |
Returns the proxy description.
Implemented in qutim_sdk_0_3::HttpProxyInfo, and qutim_sdk_0_3::Socks5ProxyInfo.
|
virtual |
Returns the icon of the proxy.
|
pure virtual |
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".
Implemented in qutim_sdk_0_3::HttpProxyInfo, and qutim_sdk_0_3::Socks5ProxyInfo.
|
static |
Returns the NetworkProxyInfo object by the name.
|
pure virtual |
Saves the setting to the config.
Implemented in qutim_sdk_0_3::HttpProxyInfo, and qutim_sdk_0_3::Socks5ProxyInfo.
Returns the settings data form for the proxy.
You may want to consider to use NetworkProxyManager::settings(Account*) instead of this method.
Implemented in qutim_sdk_0_3::HttpProxyInfo, and qutim_sdk_0_3::Socks5ProxyInfo.
|
protectedvirtual |