![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviProxy.h>
Public Types | |
enum | Protocol { Socks4 , Socks5 , Http } |
Public Member Functions | |
bool | hasPass () const |
bool | hasUser () const |
const QString & | hostname () const |
const QString & | ip () const |
bool | isIPv6 () const |
KviProxy () | |
void | normalizeUserAndPass () |
const QString & | pass () const |
int | passLen () const |
kvi_u32_t | port () const |
Protocol | protocol () const |
const QString | protocolName () const |
void | setHostname (const QString &h) |
void | setIp (const QString &i) |
void | setIPv6 (bool b) |
void | setNamedProtocol (const QString &proto) |
void | setPass (const QString &p) |
void | setPort (kvi_u32_t p) |
void | setProtocol (Protocol p) |
void | setUser (const QString &u) |
const QString & | user () const |
int | userLen () const |
~KviProxy () | |
Static Public Member Functions | |
static QStringList | getSupportedProtocolNames () |
Private Attributes | |
bool | m_bIsIPv6 |
Protocol | m_protocol |
QString | m_szHostname |
QString | m_szIp |
QString | m_szPass |
QString | m_szUser |
kvi_u32_t | m_uPort |
enum KviProxy::Protocol |
KviProxy::KviProxy | ( | ) |
References m_bIsIPv6, m_protocol, m_szHostname, m_uPort, and Socks4.
|
default |
|
static |
References proxy_protocols_table.
Referenced by OptionsWidget_proxy::OptionsWidget_proxy().
|
inline |
References m_szPass.
|
inline |
References m_szUser.
|
inline |
References m_szHostname.
Referenced by KviProxyDataBase::findProxy(), and ProxyOptionsTreeWidgetItem::ProxyOptionsTreeWidgetItem().
|
inline |
References m_szIp.
|
inline |
References m_bIsIPv6.
Referenced by KviProxyDataBase::findProxy().
|
inline |
References m_szPass.
|
inline |
References m_szPass.
|
inline |
References m_uPort.
Referenced by KviProxyDataBase::findProxy().
|
inline |
References m_protocol.
Referenced by KviProxyDataBase::findProxy(), proxydb_kvs_fnc_protocol(), and KviIrcSocket::startConnection().
const QString KviProxy::protocolName | ( | ) | const |
References Http, m_protocol, proxy_protocols_table, and Socks5.
|
inline |
References h, and m_szHostname.
Referenced by proxydb_get_helper(), proxydb_kvs_cmd_setIp(), proxydb_kvs_cmd_setIPv6(), proxydb_kvs_cmd_setPort(), proxydb_kvs_cmd_setProtocol(), and proxydb_kvs_fnc_protocol().
|
inline |
Referenced by proxydb_kvs_cmd_setIp().
|
inline |
References m_bIsIPv6.
Referenced by proxydb_kvs_cmd_setIPv6().
void KviProxy::setNamedProtocol | ( | const QString & | proto | ) |
References Http, m_protocol, proxy_protocols_table, Socks4, and Socks5.
|
inline |
Referenced by proxydb_kvs_cmd_setPort().
|
inline |
References m_protocol, and p.
Referenced by proxydb_kvs_cmd_setProtocol().
|
inline |
References m_szUser.
|
inline |
References m_szUser.
|
private |
Referenced by isIPv6(), KviProxy(), and setIPv6().
|
private |
Referenced by KviProxy(), protocol(), protocolName(), setNamedProtocol(), and setProtocol().
|
private |
Referenced by hostname(), KviProxy(), and setHostname().
|
private |
Referenced by hasPass(), normalizeUserAndPass(), pass(), passLen(), and setPass().
|
private |
Referenced by hasUser(), normalizeUserAndPass(), setUser(), user(), and userLen().
|
private |
Referenced by KviProxy(), port(), and setPort().