GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1KeyserverTab.html
2022-05-09 03:59:26 +08:00

299 lines
16 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::KeyserverTab 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>
<tr id="projectrow">
<td id="projectalign">
<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.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<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">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1KeyserverTab.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="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1KeyserverTab-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">GpgFrontend::UI::KeyserverTab Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::KeyserverTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1KeyserverTab__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1KeyserverTab_inherit__map" alt="Inheritance graph"/></div>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::KeyserverTab:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1KeyserverTab__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1KeyserverTab_coll__map" alt="Collaboration graph"/></div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="signals" name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a26449a77844d9db69a543ff88f10e347"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyserverTab.html#a26449a77844d9db69a543ff88f10e347">SignalRestartNeeded</a> (bool needed)</td></tr>
<tr class="separator:a26449a77844d9db69a543ff88f10e347"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa3d3561d3bdf95de6486b2caa752616c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyserverTab.html#aa3d3561d3bdf95de6486b2caa752616c">KeyserverTab</a> (QWidget *parent=nullptr)</td></tr>
<tr class="memdesc:aa3d3561d3bdf95de6486b2caa752616c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Keyserver Tab object. <a href="classGpgFrontend_1_1UI_1_1KeyserverTab.html#aa3d3561d3bdf95de6486b2caa752616c">More...</a><br /></td></tr>
<tr class="separator:aa3d3561d3bdf95de6486b2caa752616c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a221117b56dda48956e44d96a08f6823b"><td class="memItemLeft" align="right" valign="top"><a id="a221117b56dda48956e44d96a08f6823b" name="a221117b56dda48956e44d96a08f6823b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetSettings</b> ()</td></tr>
<tr class="memdesc:a221117b56dda48956e44d96a08f6823b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Settings object. <br /></td></tr>
<tr class="separator:a221117b56dda48956e44d96a08f6823b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd9c3735ab43ecf2eb6df4c9b2ddd93"><td class="memItemLeft" align="right" valign="top"><a id="a8fd9c3735ab43ecf2eb6df4c9b2ddd93" name="a8fd9c3735ab43ecf2eb6df4c9b2ddd93"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ApplySettings</b> ()</td></tr>
<tr class="separator:a8fd9c3735ab43ecf2eb6df4c9b2ddd93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a8cbd6e448e187260730ab8301ad4892e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyserverTab.html#a8cbd6e448e187260730ab8301ad4892e">contextMenuEvent</a> (QContextMenuEvent *event) override</td></tr>
<tr class="separator:a8cbd6e448e187260730ab8301ad4892e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-slots" name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:aacb5e6e543708687185a993dd43050a3"><td class="memItemLeft" align="right" valign="top"><a id="aacb5e6e543708687185a993dd43050a3" name="aacb5e6e543708687185a993dd43050a3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_add_key_server</b> ()</td></tr>
<tr class="separator:aacb5e6e543708687185a993dd43050a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f30a1f6314b6156f4df20652129c5d"><td class="memItemLeft" align="right" valign="top"><a id="a74f30a1f6314b6156f4df20652129c5d" name="a74f30a1f6314b6156f4df20652129c5d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_refresh_table</b> ()</td></tr>
<tr class="separator:a74f30a1f6314b6156f4df20652129c5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68f954c4b713956a87f7382b30f45612"><td class="memItemLeft" align="right" valign="top"><a id="a68f954c4b713956a87f7382b30f45612" name="a68f954c4b713956a87f7382b30f45612"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_test_listed_key_server</b> ()</td></tr>
<tr class="separator:a68f954c4b713956a87f7382b30f45612"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac3f03e8a208f63776414df0ce37ead19"><td class="memItemLeft" align="right" valign="top"><a id="ac3f03e8a208f63776414df0ce37ead19" name="ac3f03e8a208f63776414df0ce37ead19"></a>
std::shared_ptr&lt; Ui_KeyServerSettings &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ui_</b></td></tr>
<tr class="separator:ac3f03e8a208f63776414df0ce37ead19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fc7e301ec8db2f328508c0380027d94"><td class="memItemLeft" align="right" valign="top"><a id="a0fc7e301ec8db2f328508c0380027d94" name="a0fc7e301ec8db2f328508c0380027d94"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>default_key_server_</b></td></tr>
<tr class="separator:a0fc7e301ec8db2f328508c0380027d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac946f4228b6e8784eebcbb63f285a702"><td class="memItemLeft" align="right" valign="top"><a id="ac946f4228b6e8784eebcbb63f285a702" name="ac946f4228b6e8784eebcbb63f285a702"></a>
QStringList&#160;</td><td class="memItemRight" valign="bottom"><b>key_server_str_list_</b></td></tr>
<tr class="separator:ac946f4228b6e8784eebcbb63f285a702"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec36c6d42a71d79fc006c1aab0ebdfa"><td class="memItemLeft" align="right" valign="top"><a id="a1ec36c6d42a71d79fc006c1aab0ebdfa" name="a1ec36c6d42a71d79fc006c1aab0ebdfa"></a>
QMenu *&#160;</td><td class="memItemRight" valign="bottom"><b>popup_menu_</b> {}</td></tr>
<tr class="separator:a1ec36c6d42a71d79fc006c1aab0ebdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b9bfdbd7ae71f0d74b9d6c32a194e1"><td class="memItemLeft" align="right" valign="top">QRegularExpression&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyserverTab.html#a85b9bfdbd7ae71f0d74b9d6c32a194e1">url_reg_</a></td></tr>
<tr class="separator:a85b9bfdbd7ae71f0d74b9d6c32a194e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa3d3561d3bdf95de6486b2caa752616c" name="aa3d3561d3bdf95de6486b2caa752616c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3d3561d3bdf95de6486b2caa752616c">&#9670;&nbsp;</a></span>KeyserverTab()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::KeyserverTab::KeyserverTab </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 Keyserver Tab object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8cbd6e448e187260730ab8301ad4892e" name="a8cbd6e448e187260730ab8301ad4892e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cbd6e448e187260730ab8301ad4892e">&#9670;&nbsp;</a></span>contextMenuEvent()</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::KeyserverTab::contextMenuEvent </td>
<td>(</td>
<td class="paramtype">QContextMenuEvent *&#160;</td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a26449a77844d9db69a543ff88f10e347" name="a26449a77844d9db69a543ff88f10e347"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26449a77844d9db69a543ff88f10e347">&#9670;&nbsp;</a></span>SignalRestartNeeded</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::KeyserverTab::SignalRestartNeeded </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>needed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">needed</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a85b9bfdbd7ae71f0d74b9d6c32a194e1" name="a85b9bfdbd7ae71f0d74b9d6c32a194e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b9bfdbd7ae71f0d74b9d6c32a194e1">&#9670;&nbsp;</a></span>url_reg_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QRegularExpression GpgFrontend::UI::KeyserverTab::url_reg_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
<div class="line"> R<span class="stringliteral">&quot;(^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&amp;//=]*)$)&quot;}</span></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/settings/<a class="el" href="SettingsKeyServer_8h_source.html">SettingsKeyServer.h</a></li>
<li>src/ui/settings/SettingsKeyServer.cpp</li>
</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_1KeyserverTab.html">KeyserverTab</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.3 </li>
</ul>
</div>
</body>
</html>