|
libqutim 0.3.1.0
|
Default implementation of http proxy. More...
#include <networkproxy.h>
Inheritance diagram for qutim_sdk_0_3::HttpProxyInfo:Public Member Functions | |
| virtual LocalizedString | description () |
| virtual QString | name () |
| virtual void | saveSettings (Config config, const DataItem &settings) |
| virtual DataItem | settings (const Config &config) |
Static Public Member Functions | |
| static HttpProxyInfo * | instance () |
Protected Member Functions | |
| HttpProxyInfo () | |
Default implementation of http proxy.
| qutim_sdk_0_3::HttpProxyInfo::HttpProxyInfo | ( | ) | [protected] |
| virtual LocalizedString qutim_sdk_0_3::HttpProxyInfo::description | ( | ) | [virtual] |
Returns the proxy description.
Implements qutim_sdk_0_3::NetworkProxyInfo.
| static HttpProxyInfo* qutim_sdk_0_3::HttpProxyInfo::instance | ( | ) | [static] |
Returns a pointer to the http proxy object.
| virtual QString qutim_sdk_0_3::HttpProxyInfo::name | ( | ) | [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".
Implements qutim_sdk_0_3::NetworkProxyInfo.
| virtual void qutim_sdk_0_3::HttpProxyInfo::saveSettings | ( | Config | config, |
| const DataItem & | settings | ||
| ) | [virtual] |
Saves the setting to the config.
Implements qutim_sdk_0_3::NetworkProxyInfo.
Returns the settings data form for the proxy.
You may want to consider to use NetworkProxyManager::settings(Account*) instead of this method.
Implements qutim_sdk_0_3::NetworkProxyInfo.