// SPDX-FileCopyrightText: 2017 Kitsune Ral // SPDX-License-Identifier: LGPL-2.1-or-later #include "networksettings.h" using namespace Quotient; void NetworkSettings::setupApplicationProxy() const { QNetworkProxy::setApplicationProxy( { proxyType(), proxyHostName(), proxyPort() }); } QUO_DEFINE_SETTING(NetworkSettings, QNetworkProxy::ProxyType, proxyType, "proxy_type", QNetworkProxy::DefaultProxy, setProxyType) QUO_DEFINE_SETTING(NetworkSettings, QString, proxyHostName, "proxy_hostname", {}, setProxyHostName) QUO_DEFINE_SETTING(NetworkSettings, quint16, proxyPort, "proxy_port", -1, setProxyPort) ref='/nicolas/libquotient/'>libquotient
Unnamed repository; edit this file 'description' to name the repository.Nicolas Peugnet
aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/redaction.cpp
blob: aa6e3b65f71d3db545074d428bcf58fbbe889b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44