GpgFrontend-Doxygen/docs/html/UserInterfaceUtils_8h_source.html

215 lines
27 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: 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>
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('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">
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">UserInterfaceUtils.h</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
2022-05-08 22:01:23 +00:00
<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;ui/GpgFrontendUI.h&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend.html">GpgFrontend</a> {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">class </span>GpgResultAnalyse;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;}</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;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">class </span>InfoBoardWidget;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">class </span>TextEdit;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</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="l00054"></a><span class="lineno"> 54</span>&#160; GpgError error, <span class="keyword">const</span> GpgVerifyResult&amp; verify_result);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</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="l00063"></a><span class="lineno"> 63</span>&#160; QWidget* parent, <span class="keyword">const</span> GpgVerifyResultAnalyse&amp; verify_res);</div>
2022-05-08 22:01:23 +00:00
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</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="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">const</span> std::string&amp; report_text);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</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="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</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="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_a,</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_b);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</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="l00105"></a><span class="lineno"> 105</span>&#160; QWidget* parent, <span class="keyword">const</span> std::string&amp; waiting_title,</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; GpgFrontend::Thread::Task::TaskRunnable func,</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; GpgFrontend::Thread::Task::TaskCallback callback = <span class="keyword">nullptr</span>,</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; Thread::Task::DataObjectPtr data_object = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="namespaceGpgFrontend_1_1UI.html#aa346bd199cecc61b15ef406728b58770"> 117</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="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keyword">const</span> std::string&amp; key_server);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html"> 124</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="l00125"></a><span class="lineno"> 125</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">using</span> ImportCallbackFunctiopn = std::function&lt;void(</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</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="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils</a>();</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</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="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; signals:</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">void</span> SignalKeyStatusUpdated();</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">void</span> SignalGnupgNotInstall();</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"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28"> 164</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="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> SignalNeedUserInputPassphrase();</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordtype">void</span> SignalUserInputPassphraseDone(QString passphrase);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</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="l00186"></a><span class="lineno"> 186</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</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="l00193"></a><span class="lineno"> 193</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</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="l00200"></a><span class="lineno"> 200</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</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="l00207"></a><span class="lineno"> 207</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</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="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keyword">const</span> GpgFrontend::KeyIdArgsList&amp; key_ids,</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keyword">const</span> GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn&amp; callback);</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</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="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keyword">const</span> QStringList&amp; arguments,</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</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="l00228"></a><span class="lineno"> 228</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</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="l00236"></a><span class="lineno"> 236</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="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</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="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordtype">void</span> slot_popup_passphrase_input_dialog();</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="keyword">static</span> std::unique_ptr&lt;CommonUtils&gt; instance_; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;};</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// GPGFRONTEND_USER_INTERFACE_UTILS_H</span></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:124</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:194</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:215</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:186</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:150</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:221</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:398</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:143</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:210</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:253</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:86</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:116</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:54</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:63</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:98</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 -->
2022-05-08 19:59:26 +00:00
<!-- 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>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>