GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1NetworkTab.html

279 lines
15 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::NetworkTab Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<div id="projectname">GpgFrontend Project
</div>
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1NetworkTab.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1NetworkTab-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::UI::NetworkTab Class Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::NetworkTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1NetworkTab__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1NetworkTab_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1UI_1_1NetworkTab_inherit__map" id="aGpgFrontend_1_1UI_1_1NetworkTab_inherit__map">
2022-05-08 22:01:23 +00:00
<area shape="rect" title=" " alt="" coords="5,131,217,325"/>
<area shape="rect" title=" " alt="" coords="72,5,151,83"/>
</map>
2022-05-08 19:59:26 +00:00
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::NetworkTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1NetworkTab__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1NetworkTab_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1UI_1_1NetworkTab_coll__map" id="aGpgFrontend_1_1UI_1_1NetworkTab_coll__map">
2022-05-08 22:01:23 +00:00
<area shape="rect" title=" " alt="" coords="5,440,217,620"/>
<area shape="rect" title=" " alt="" coords="51,293,129,370"/>
<area shape="rect" title=" " alt="" coords="154,285,306,377"/>
<area shape="rect" title=" " alt="" coords="151,145,309,223"/>
2022-05-08 22:01:23 +00:00
<area shape="rect" title=" " alt="" coords="211,5,249,83"/>
</map>
2022-05-08 19:59:26 +00:00
</div>
<table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
2022-05-08 19:59:26 +00:00
Public Member Functions</h2></td></tr>
<tr class="memitem:a444d3630919c1f9c4db495a58acbb9a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html#a444d3630919c1f9c4db495a58acbb9a8">NetworkTab</a> (QWidget *parent=nullptr)</td></tr>
<tr class="memdesc:a444d3630919c1f9c4db495a58acbb9a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Network Tab object. <a href="classGpgFrontend_1_1UI_1_1NetworkTab.html#a444d3630919c1f9c4db495a58acbb9a8">More...</a><br /></td></tr>
<tr class="separator:a444d3630919c1f9c4db495a58acbb9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51cd114731899b6480cc1b6d5a80826a"><td class="memItemLeft" align="right" valign="top"><a id="a51cd114731899b6480cc1b6d5a80826a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html#a51cd114731899b6480cc1b6d5a80826a">SetSettings</a> ()</td></tr>
<tr class="memdesc:a51cd114731899b6480cc1b6d5a80826a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Settings object. <br /></td></tr>
2022-05-08 19:59:26 +00:00
<tr class="separator:a51cd114731899b6480cc1b6d5a80826a"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a52fa421fe4e6c122a26ed7c766c000f7"><td class="memItemLeft" align="right" valign="top"><a id="a52fa421fe4e6c122a26ed7c766c000f7"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>ApplySettings</b> ()</td></tr>
<tr class="separator:a52fa421fe4e6c122a26ed7c766c000f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
2022-05-08 19:59:26 +00:00
Private Slots</h2></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a36aba3c964667026632d8e8521bea7b7"><td class="memItemLeft" align="right" valign="top"><a id="a36aba3c964667026632d8e8521bea7b7"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_test_proxy_connection_result</b> ()</td></tr>
<tr class="separator:a36aba3c964667026632d8e8521bea7b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
2022-05-08 19:59:26 +00:00
Private Member Functions</h2></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a3afc7a761d7316cfd15828b624e0dad3"><td class="memItemLeft" align="right" valign="top"><a id="a3afc7a761d7316cfd15828b624e0dad3"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>apply_proxy_settings</b> ()</td></tr>
<tr class="separator:a3afc7a761d7316cfd15828b624e0dad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3d97948f205e84f0604d4da634a4513"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html#ae3d97948f205e84f0604d4da634a4513">switch_ui_enabled</a> (bool enabled)</td></tr>
<tr class="separator:ae3d97948f205e84f0604d4da634a4513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b0297158f13daec77645c88e5a8adcd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html#a1b0297158f13daec77645c88e5a8adcd">switch_ui_proxy_type</a> (const QString &amp;type_text)</td></tr>
<tr class="separator:a1b0297158f13daec77645c88e5a8adcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
2022-05-08 19:59:26 +00:00
Private Attributes</h2></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:ab060582bade44ee6f7d836e80809d95c"><td class="memItemLeft" align="right" valign="top"><a id="ab060582bade44ee6f7d836e80809d95c"></a>
2022-05-08 19:59:26 +00:00
std::shared_ptr&lt; Ui_NetworkSettings &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ui_</b></td></tr>
<tr class="separator:ab060582bade44ee6f7d836e80809d95c"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a1713e1268a364f51f57b3a2752efc641"><td class="memItemLeft" align="right" valign="top"><a id="a1713e1268a364f51f57b3a2752efc641"></a>
2022-05-08 19:59:26 +00:00
QNetworkProxy::ProxyType&#160;</td><td class="memItemRight" valign="bottom"><b>proxy_type_</b> = QNetworkProxy::HttpProxy</td></tr>
<tr class="separator:a1713e1268a364f51f57b3a2752efc641"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a444d3630919c1f9c4db495a58acbb9a8"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a444d3630919c1f9c4db495a58acbb9a8">&#9670;&nbsp;</a></span>NetworkTab()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::NetworkTab::NetworkTab </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Network Tab object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>Copyright (C) 2021 Saturneric <a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a></td></tr>
2022-05-08 19:59:26 +00:00
</table>
</dd>
</dl>
2022-05-08 22:01:23 +00:00
<p>This file is part of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a>. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
<p>The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.</p>
<p>All the source code of <a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a> was modified and released by Saturneric <a href="#" onclick="location.href='mai'+'lto:'+'eri'+'c@'+'bkt'+'us'+'.co'+'m'; return false;">eric@<span style="display: none;">.nosp@m.</span>bktu<span style="display: none;">.nosp@m.</span>s.com</a> starting on May 12, 2021.</p>
2022-05-08 22:01:23 +00:00
<p>SPDX-License-Identifier: GPL-3.0-or-later </p>
2022-05-08 19:59:26 +00:00
<p class="reference">References <a class="el" href="namespaceGpgFrontend_1_1Module.html#ad603c5872c4d356cb59b70b63b99126c">GpgFrontend::Module::IsModuleActivate()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html#a51cd114731899b6480cc1b6d5a80826a">SetSettings()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="ae3d97948f205e84f0604d4da634a4513"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#ae3d97948f205e84f0604d4da634a4513">&#9670;&nbsp;</a></span>switch_ui_enabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::NetworkTab::switch_ui_enabled </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">enabled</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="a1b0297158f13daec77645c88e5a8adcd"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a1b0297158f13daec77645c88e5a8adcd">&#9670;&nbsp;</a></span>switch_ui_proxy_type()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::NetworkTab::switch_ui_proxy_type </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>type_text</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">type_text</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/dialog/settings/<a class="el" href="SettingsNetwork_8h_source.html">SettingsNetwork.h</a></li>
<li>src/ui/dialog/settings/SettingsNetwork.cpp</li>
2022-05-08 19:59:26 +00:00
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="namespaceGpgFrontend_1_1UI.html">UI</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1UI_1_1NetworkTab.html">NetworkTab</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>