236 lines
32 KiB
HTML
236 lines
32 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&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&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&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>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "core/function/result_analyse/GpgVerifyResultAnalyse.h"</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "core/model/GpgKey.h"</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "core/thread/Task.h"</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "core/typedef/GpgTypedef.h"</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <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> <span class="keyword">class </span>GpgResultAnalyse;</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span>GpgImportInformation;</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> } <span class="comment">// namespace GpgFrontend</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <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>  </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">class </span>InfoBoardWidget;</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">class </span>TextEdit;</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">using</span> OperaWaitingHd = std::function<void()>;</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">using</span> OperaWaitingCb = <span class="keyword">const</span> std::function<void(OperaWaitingHd)>;</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <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>  <a class="code" href="namespaceGpgFrontend.html#a2470eb154743191c3454203f23d3a2f8">GpgError</a> error, <span class="keyword">const</span> GpgVerifyResult& verify_result);</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">void</span> <a class="code" href="namespaceGpgFrontend_1_1UI.html#a3d0942aa6bf911d3760b77e6460fc873">ImportUnknownKeyFromKeyserver</a>(</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  QWidget* parent, <span class="keyword">const</span> GpgVerifyResultAnalyse& verify_res);</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <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>  <span class="keyword">const</span> QString& report_text);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <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>  <span class="keyword">const</span> GpgResultAnalyse& result_analyse);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <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>  <span class="keyword">const</span> GpgResultAnalyse& result_analyse_a,</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">const</span> GpgResultAnalyse& result_analyse_b);</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <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& waiting_title,</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  Thread::Task::TaskRunnable func,</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  Thread::Task::TaskCallback callback = <span class="keyword">nullptr</span>,</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  DataObjectPtr data_object = <span class="keyword">nullptr</span>);</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1CommonUtils.html"> 117</a></span> <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>  Q_OBJECT</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">using</span> ImportCallbackFunctiopn =</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  std::function<void(<span class="keyword">const</span> QString&, <span class="keyword">const</span> QString&, <span class="keywordtype">size_t</span>, <span class="keywordtype">size_t</span>)>;</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <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>  </div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <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>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <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&,</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">const</span> OperaWaitingCb&);</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <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>  </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <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>  </div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordtype">bool</span> isApplicationNeedRestart();</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">bool</span> KeyExistsinFavouriteList(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>& key);</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">void</span> AddKey2Favourtie(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>& key);</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">void</span> RemoveKeyFromFavourite(<span class="keyword">const</span> <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>& key);</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">void</span> ImportKeyFromKeyServer(<span class="keyword">const</span> KeyIdArgsList&);</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  signals:</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">void</span> SignalKeyStatusUpdated();</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">void</span> SignalBadGnupgEnv(QString);</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </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>  <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>  </div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordtype">void</span> SignalRestartApplication(<span class="keywordtype">int</span>);</div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <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& in_buffer);</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <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>  </div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <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>  </div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <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>  </div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <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>  <span class="keyword">const</span> GpgFrontend::KeyIdArgsList& key_ids,</div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keyword">const</span> GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn& callback);</div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <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>  <span class="keyword">const</span> QStringList& arguments,</div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keyword">const</span> std::function<<span class="keywordtype">void</span>(QProcess*)>& interact_func);</div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  </div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a39fbfbc9ab39581330a02d9cb54e6e4d">SlotExecuteCommand</a>(<span class="keyword">const</span> QString& cmd, <span class="keyword">const</span> QStringList& arguments,</div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keyword">const</span> std::function<<span class="keywordtype">void</span>(QProcess*)>& interact_func);</div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  </div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">void</span> SlotRestartApplication(<span class="keywordtype">int</span>);</div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <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>  </div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">void</span> slot_update_key_from_server_finished(</div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordtype">bool</span>, QString, QByteArray, std::shared_ptr<GpgImportInformation>);</div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  </div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keyword">static</span> std::unique_ptr<CommonUtils> instance_; </div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <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> };</div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  </div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> } <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 &cmd, const QStringList &arguments, const std::function< void(QProcess *)> &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 &, const OperaWaitingCb &)</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 &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 &arguments, const std::function< void(QProcess *)> &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 &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_a3d0942aa6bf911d3760b77e6460fc873"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#a3d0942aa6bf911d3760b77e6460fc873">GpgFrontend::UI::ImportUnknownKeyFromKeyserver</a></div><div class="ttdeci">void ImportUnknownKeyFromKeyserver(QWidget *parent, const GpgVerifyResultAnalyse &verify_result)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:68</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 &verify_result)</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:59</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 &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 &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 -->
|
|
<!-- 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>
|