DtkNetworkManager
NetworkManager DBus interface binding for Qt
Dtk::NetworkManager::DSystemProxy类 参考

连接配置管理的方法的封装 更多...

#include <dsystemproxy.h>

类 Dtk::NetworkManager::DSystemProxy 继承关系图:
Dtk::NetworkManager::DSystemProxy 的协作图:

Public 槽

DExpected< QString > autoProxy () const
 获取自动代理的地址 更多...
 
DExpected< SystemProxyAddrproxy (const ProxyType method) const
 获取对应代理类型的地址 更多...
 
DExpected< QString > proxyIgnoreHosts () const
 获取代理中的忽略列表 更多...
 
DExpected< SystemProxyMethodproxyMethod () const
 获取代理方法 更多...
 
DExpected< void > setAutoProxy (const QUrl &pac) const
 设置自动代理地址 更多...
 
DExpected< void > setProxy (const ProxyType type, const SystemProxyAddr &addr) const
 设置代理属性 更多...
 
DExpected< void > setProxyIgnoreHosts (const QString &hosts) const
 设置代理忽略列表 更多...
 
DExpected< void > setProxyMethod (const SystemProxyMethod method) const
 设置代理方法 更多...
 

Public 成员函数

 DSystemProxy (QObject *parent=nullptr)
 

详细描述

连接配置管理的方法的封装

成员函数说明

◆ autoProxy

DExpected< QString > DSystemProxy::autoProxy ( ) const
slot

获取自动代理的地址

返回
代理地址

◆ proxy

DExpected< SystemProxyAddr > DSystemProxy::proxy ( const ProxyType  method) const
slot

获取对应代理类型的地址

参数
[in]method代理类型
返回
代理地址

◆ proxyIgnoreHosts

DExpected< QString > DSystemProxy::proxyIgnoreHosts ( ) const
slot

获取代理中的忽略列表

返回
忽略的地址列表

◆ proxyMethod

DExpected< SystemProxyMethod > DSystemProxy::proxyMethod ( ) const
slot

获取代理方法

返回
代理方法

◆ setAutoProxy

DExpected< void > DSystemProxy::setAutoProxy ( const QUrl &  pac) const
slot

设置自动代理地址

参数
[in]pac代理的地址

◆ setProxy

DExpected< void > DSystemProxy::setProxy ( const ProxyType  type,
const SystemProxyAddr addr 
) const
slot

设置代理属性

参数
[in]type代理类型
[in]addr代理地址

◆ setProxyIgnoreHosts

DExpected< void > DSystemProxy::setProxyIgnoreHosts ( const QString &  hosts) const
slot

设置代理忽略列表

参数
[in]hosts地址, 以逗号分割

◆ setProxyMethod

DExpected< void > DSystemProxy::setProxyMethod ( const SystemProxyMethod  method) const
slot

设置代理方法

参数
[in]method代理方法

该类的文档由以下文件生成: