GpgFrontend-Doxygen/docs/html/UserInterfaceUtils_8h_source.html

230 lines
29 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=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/ui/UserInterfaceUtils.h Source File</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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<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 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('UserInterfaceUtils_8h_source.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="headertitle">
<div class="title">UserInterfaceUtils.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_USER_INTERFACE_UTILS_H</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#define GPGFRONTEND_USER_INTERFACE_UTILS_H</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;core/GpgModel.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;core/function/result_analyse/GpgVerifyResultAnalyse.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;core/model/GpgKey.h&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;ui/GpgFrontendUI.h&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">class </span>GpgResultAnalyse;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;}</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">class </span>InfoBoardWidget;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">class </span>TextEdit;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a590a26051105940a6d6e0743b147e281">show_verify_details</a>(QWidget* parent, InfoBoardWidget* info_board,</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; GpgError error, <span class="keyword">const</span> GpgVerifyResult&amp; verify_result);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a9ab218dde057182cb4911c4792acd925">import_unknown_key_from_keyserver</a>(</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; QWidget* parent, <span class="keyword">const</span> GpgVerifyResultAnalyse&amp; verify_res);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a204156a333cde4f705f0ace91cd3d333">refresh_info_board</a>(InfoBoardWidget* info_board, <span class="keywordtype">int</span> status,</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">const</span> std::string&amp; report_text);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#abd3c7c636954390d52150b4e6d38e1b3">process_result_analyse</a>(TextEdit* edit, InfoBoardWidget* info_board,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#abd3c7c636954390d52150b4e6d38e1b3">process_result_analyse</a>(TextEdit* edit, InfoBoardWidget* info_board,</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_a,</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_b);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a3c971eeb5c620d08d6d92f0752ceaf9f">process_operation</a>(</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; QWidget* parent, <span class="keyword">const</span> std::string&amp; waiting_title,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; GpgFrontend::Thread::Task::TaskRunnable func,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; GpgFrontend::Thread::Task::TaskCallback callback = <span class="keyword">nullptr</span>,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; Thread::Task::DataObjectPtr data_object = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="namespaceGpgFrontend_1_1UI.html#aa346bd199cecc61b15ef406728b58770"> 118</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#aa346bd199cecc61b15ef406728b58770">import_key_from_keyserver</a>(QWidget* parent, <span class="keyword">const</span> std::string&amp; key_id,</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">const</span> std::string&amp; key_server);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html"> 125</a></span>&#160;<span class="keyword">class </span><a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a> : <span class="keyword">public</span> QWidget {</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">using</span> ImportCallbackFunctiopn = std::function&lt;void(</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keyword">const</span> std::string&amp;, <span class="keyword">const</span> std::string&amp;, <span class="keywordtype">size_t</span>, <span class="keywordtype">size_t</span>)&gt;;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils</a>();</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">static</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a>* <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49">GetInstance</a>();</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">bool</span> isApplicationNeedRestart();</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span> KeyExistsinFavouriteList(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&amp; key);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordtype">void</span> AddKey2Favourtie(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&amp; key);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordtype">void</span> RemoveKeyFromFavourite(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&amp; key);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; signals:</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordtype">void</span> SignalKeyStatusUpdated();</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">void</span> SignalGnupgNotInstall();</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28"> 189</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">SignalKeyDatabaseRefreshDone</a>();</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">void</span> SignalNeedUserInputPassphrase();</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordtype">void</span> SignalUserInputPassphraseDone(QString passphrase);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordtype">void</span> SignalRestartApplication(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">SlotImportKeys</a>(QWidget* parent, <span class="keyword">const</span> std::string&amp; in_buffer);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a057526790f6b2f6288c3a35322c34d8d">SlotImportKeyFromFile</a>(QWidget* parent);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#af1b3538d3119c8564e83c7661f73f6ea">SlotImportKeyFromKeyServer</a>(QWidget* parent);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a0c8bf56fc5371cd2c5e9d2a0f67bf72a">SlotImportKeyFromClipboard</a>(QWidget* parent);</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#af1b3538d3119c8564e83c7661f73f6ea">SlotImportKeyFromKeyServer</a>(</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keyword">const</span> GpgFrontend::KeyIdArgsList&amp; key_ids,</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keyword">const</span> GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn&amp; callback);</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#afc845c1c37487c99f78d8e66f6874f6d">SlotExecuteGpgCommand</a>(</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keyword">const</span> QStringList&amp; arguments,</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keyword">const</span> std::function&lt;<span class="keywordtype">void</span>(QProcess*)&gt;&amp; interact_func);</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a95cd625a2e0e74ee4d564843c6d16791">SlotExecuteCommand</a>(<span class="keyword">const</span> std::string&amp; cmd, <span class="keyword">const</span> QStringList&amp; arguments,</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keyword">const</span> std::function&lt;<span class="keywordtype">void</span>(QProcess*)&gt;&amp; interact_func);</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordtype">void</span> SlotRestartApplication(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; </div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">slot_update_key_status</a>();</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordtype">void</span> slot_popup_passphrase_input_dialog();</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keyword">static</span> std::unique_ptr&lt;CommonUtils&gt; instance_; </div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keywordtype">bool</span> application_need_to_restart_at_once_ = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;};</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; </div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// GPGFRONTEND_USER_INTERFACE_UTILS_H</span></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html">GpgFrontend::GpgKey</a></div><div class="ttdef"><b>Definition:</b> GpgKey.h:43</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html">GpgFrontend::UI::CommonUtils</a></div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.h:125</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a057526790f6b2f6288c3a35322c34d8d"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a057526790f6b2f6288c3a35322c34d8d">GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile</a></div><div class="ttdeci">void SlotImportKeyFromFile(QWidget *parent)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:231</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a0c8bf56fc5371cd2c5e9d2a0f67bf72a"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a0c8bf56fc5371cd2c5e9d2a0f67bf72a">GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard</a></div><div class="ttdeci">void SlotImportKeyFromClipboard(QWidget *parent)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:252</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a1abc83bba95579aa94d0870181991a28"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">GpgFrontend::UI::CommonUtils::SignalKeyDatabaseRefreshDone</a></div><div class="ttdeci">void SignalKeyDatabaseRefreshDone()</div><div class="ttdoc">emit when the key database is refreshed</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a3bc26cc1e0f00f0ce2f95c0b6c8778d8"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">GpgFrontend::UI::CommonUtils::SlotImportKeys</a></div><div class="ttdeci">void SlotImportKeys(QWidget *parent, const std::string &amp;in_buffer)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:223</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a78f5c2696152e9326e845c76c94be965"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">GpgFrontend::UI::CommonUtils::CommonUtils</a></div><div class="ttdeci">CommonUtils()</div><div class="ttdoc">Construct a new Common Utils object.</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:156</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a95cd625a2e0e74ee4d564843c6d16791"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a95cd625a2e0e74ee4d564843c6d16791">GpgFrontend::UI::CommonUtils::SlotExecuteCommand</a></div><div class="ttdeci">void SlotExecuteCommand(const std::string &amp;cmd, const QStringList &amp;arguments, const std::function&lt; void(QProcess *)&gt; &amp;interact_func)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:258</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_ab4ac26378d6a07757720163eb4b1cb0e"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">GpgFrontend::UI::CommonUtils::slot_update_key_status</a></div><div class="ttdeci">void slot_update_key_status()</div><div class="ttdoc">update the key status when signal is emitted</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:435</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_aed529969f54e39e3f9da14ae6dd00d49"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49">GpgFrontend::UI::CommonUtils::GetInstance</a></div><div class="ttdeci">static CommonUtils * GetInstance()</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:149</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_af1b3538d3119c8564e83c7661f73f6ea"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#af1b3538d3119c8564e83c7661f73f6ea">GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer</a></div><div class="ttdeci">void SlotImportKeyFromKeyServer(QWidget *parent)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:247</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_afc845c1c37487c99f78d8e66f6874f6d"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#afc845c1c37487c99f78d8e66f6874f6d">GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand</a></div><div class="ttdeci">void SlotExecuteGpgCommand(const QStringList &amp;arguments, const std::function&lt; void(QProcess *)&gt; &amp;interact_func)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:290</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a></div><div class="ttdef"><b>Definition:</b> FileReadTask.cpp:29</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_a204156a333cde4f705f0ace91cd3d333"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a204156a333cde4f705f0ace91cd3d333">GpgFrontend::UI::refresh_info_board</a></div><div class="ttdeci">void refresh_info_board(InfoBoardWidget *info_board, int status, const std::string &amp;report_text)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:89</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_a3c971eeb5c620d08d6d92f0752ceaf9f"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a3c971eeb5c620d08d6d92f0752ceaf9f">GpgFrontend::UI::process_operation</a></div><div class="ttdeci">void process_operation(QWidget *parent, const std::string &amp;waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, Thread::Task::DataObjectPtr data_object)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:119</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_a590a26051105940a6d6e0743b147e281"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a590a26051105940a6d6e0743b147e281">GpgFrontend::UI::show_verify_details</a></div><div class="ttdeci">void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &amp;verify_result)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:57</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_a9ab218dde057182cb4911c4792acd925"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a9ab218dde057182cb4911c4792acd925">GpgFrontend::UI::import_unknown_key_from_keyserver</a></div><div class="ttdeci">void import_unknown_key_from_keyserver(QWidget *parent, const GpgVerifyResultAnalyse &amp;verify_res)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:66</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_aa346bd199cecc61b15ef406728b58770"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#aa346bd199cecc61b15ef406728b58770">GpgFrontend::UI::import_key_from_keyserver</a></div><div class="ttdeci">void import_key_from_keyserver(QWidget *parent, const std::string &amp;key_id, const std::string &amp;key_server)</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_abd3c7c636954390d52150b4e6d38e1b3"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#abd3c7c636954390d52150b4e6d38e1b3">GpgFrontend::UI::process_result_analyse</a></div><div class="ttdeci">void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &amp;result_analyse)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:101</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> CoreCommonUtil.cpp:31</div></div>
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_da5c6b39c0a2f54e57df6799511cd3ab.html">ui</a></li><li class="navelem"><b>UserInterfaceUtils.h</b></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>
</ul>
</div>
</body>
</html>