GpgFrontend-Doxygen/docs/html/UserInterfaceUtils_8h_source.html

236 lines
32 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">#pragma once</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;core/function/result_analyse/GpgVerifyResultAnalyse.h&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;core/model/GpgKey.h&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;core/thread/Task.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;core/typedef/GpgTypedef.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;<span class="keyword">class </span>GpgImportInformation;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;} <span class="comment">// namespace GpgFrontend</span></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="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">using</span> OperaWaitingHd = std::function&lt;void()&gt;;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">using</span> OperaWaitingCb = <span class="keyword">const</span> std::function&lt;void(OperaWaitingHd)&gt;;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</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="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a> error, <span class="keyword">const</span> GpgVerifyResult&amp; verify_result);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</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="l00067"></a><span class="lineno"> 67</span>&#160; QWidget* parent, <span class="keyword">const</span> GpgVerifyResultAnalyse&amp; verify_res);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#aec857a0eb461ce71c4535f5d71e7aaee">refresh_info_board</a>(InfoBoardWidget* info_board, <span class="keywordtype">int</span> status,</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">const</span> QString&amp; report_text);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</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="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</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="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_a,</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">const</span> GpgResultAnalyse&amp; result_analyse_b);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a288897c6062a7820a3a1c5faba7cfeac">process_operation</a>(QWidget* parent, <span class="keyword">const</span> QString&amp; waiting_title,</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; Thread::Task::TaskRunnable func,</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; Thread::Task::TaskCallback callback = <span class="keyword">nullptr</span>,</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; DataObjectPtr data_object = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html"> 117</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="l00118"></a><span class="lineno"> 118</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keyword">using</span> ImportCallbackFunctiopn =</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; std::function&lt;void(<span class="keyword">const</span> QString&amp;, <span class="keyword">const</span> QString&amp;, <span class="keywordtype">size_t</span>, <span class="keywordtype">size_t</span>)&gt;;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</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#a530688726ce3a319de8d4bdcc291db87">GetInstance</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> <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#adc42d12a58717dee86d8bd59b1cacf82">WaitForOpera</a>(QWidget* parent, <span class="keyword">const</span> QString&amp;,</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keyword">const</span> OperaWaitingCb&amp;);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a2eb678ee01d3b6e1c0d8f90345712644">RaiseMessageBox</a>(QWidget* parent, <a class="code" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a> err);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a4bc0d817e2083cc262f4fb2c65027442">RaiseFailureMessageBox</a>(QWidget* parent, <a class="code" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a> err);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordtype">bool</span> isApplicationNeedRestart();</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</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="l00173"></a><span class="lineno"> 173</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</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="l00179"></a><span class="lineno"> 179</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</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="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keywordtype">void</span> ImportKeyFromKeyServer(<span class="keyword">const</span> KeyIdArgsList&amp;);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; signals:</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">void</span> SignalKeyStatusUpdated();</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">void</span> SignalBadGnupgEnv(QString);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28"> 209</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="l00210"></a><span class="lineno"> 210</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordtype">void</span> SignalRestartApplication(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keyword">public</span> slots:</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ae730cf0ee73379186f082f29a90a2f94">SlotImportKeys</a>(QWidget* parent, <span class="keyword">const</span> QString&amp; in_buffer);</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</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="l00232"></a><span class="lineno"> 232</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</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="l00239"></a><span class="lineno"> 239</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</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="l00246"></a><span class="lineno"> 246</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</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="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keyword">const</span> GpgFrontend::KeyIdArgsList&amp; key_ids,</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keyword">const</span> GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn&amp; callback);</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; </div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</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="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keyword">const</span> QStringList&amp; arguments,</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</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="l00267"></a><span class="lineno"> 267</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a39fbfbc9ab39581330a02d9cb54e6e4d">SlotExecuteCommand</a>(<span class="keyword">const</span> QString&amp; cmd, <span class="keyword">const</span> QStringList&amp; arguments,</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</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="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> SlotRestartApplication(<span class="keywordtype">int</span>);</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; </div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</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="l00290"></a><span class="lineno"> 290</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keywordtype">void</span> slot_update_key_from_server_finished(</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordtype">bool</span>, QString, QByteArray, std::shared_ptr&lt;GpgImportInformation&gt;);</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <span class="keyword">static</span> std::unique_ptr&lt;CommonUtils&gt; instance_; </div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordtype">bool</span> application_need_to_restart_at_once_ = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;};</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</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:40</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:117</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:278</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:314</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_a2eb678ee01d3b6e1c0d8f90345712644"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a2eb678ee01d3b6e1c0d8f90345712644">GpgFrontend::UI::CommonUtils::RaiseMessageBox</a></div><div class="ttdeci">static void RaiseMessageBox(QWidget *parent, GpgError err)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:246</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a39fbfbc9ab39581330a02d9cb54e6e4d"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a39fbfbc9ab39581330a02d9cb54e6e4d">GpgFrontend::UI::CommonUtils::SlotExecuteCommand</a></div><div class="ttdeci">void SlotExecuteCommand(const QString &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:319</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a4bc0d817e2083cc262f4fb2c65027442"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a4bc0d817e2083cc262f4fb2c65027442">GpgFrontend::UI::CommonUtils::RaiseFailureMessageBox</a></div><div class="ttdeci">static void RaiseFailureMessageBox(QWidget *parent, GpgError err)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:258</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_a530688726ce3a319de8d4bdcc291db87"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a530688726ce3a319de8d4bdcc291db87">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:150</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:157</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:479</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_adc42d12a58717dee86d8bd59b1cacf82"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#adc42d12a58717dee86d8bd59b1cacf82">GpgFrontend::UI::CommonUtils::WaitForOpera</a></div><div class="ttdeci">static void WaitForOpera(QWidget *parent, const QString &amp;, const OperaWaitingCb &amp;)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:222</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_ae730cf0ee73379186f082f29a90a2f94"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ae730cf0ee73379186f082f29a90a2f94">GpgFrontend::UI::CommonUtils::SlotImportKeys</a></div><div class="ttdeci">void SlotImportKeys(QWidget *parent, const QString &amp;in_buffer)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:270</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:309</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:351</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:31</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_a288897c6062a7820a3a1c5faba7cfeac"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a288897c6062a7820a3a1c5faba7cfeac">GpgFrontend::UI::process_operation</a></div><div class="ttdeci">void process_operation(QWidget *parent, const QString &amp;waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, DataObjectPtr data_object)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:121</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:59</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:68</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:103</div></div>
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_aec857a0eb461ce71c4535f5d71e7aaee"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#aec857a0eb461ce71c4535f5d71e7aaee">GpgFrontend::UI::refresh_info_board</a></div><div class="ttdeci">void refresh_info_board(InfoBoardWidget *info_board, int status, const QString &amp;report_text)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:92</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html"><div class="ttname"><a href="namespaceGpgFrontend.html">GpgFrontend</a></div><div class="ttdef"><b>Definition:</b> app.cpp:39</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a2470eb154743191c3454203f23d3a2f8"><div class="ttname"><a href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgFrontend::GpgError</a></div><div class="ttdeci">gpgme_error_t GpgError</div><div class="ttdoc">gpgme error</div><div class="ttdef"><b>Definition:</b> GpgTypedef.h:42</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>