GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.html

551 lines
30 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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::CommonUtils Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr 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.8.17 -->
<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');
/* @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('classGpgFrontend_1_1UI_1_1CommonUtils.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1CommonUtils-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::UI::CommonUtils Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::CommonUtils:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1CommonUtils_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1UI_1_1CommonUtils_inherit__map" id="GpgFrontend_1_1UI_1_1CommonUtils_inherit__map">
<area shape="rect" title=" " alt="" coords="5,131,244,325"/>
<area shape="rect" title=" " alt="" coords="85,5,164,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::CommonUtils:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1CommonUtils_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1UI_1_1CommonUtils_coll__map" id="GpgFrontend_1_1UI_1_1CommonUtils_coll__map">
<area shape="rect" title=" " alt="" coords="190,145,429,340"/>
<area shape="rect" title=" " alt="" coords="139,417,357,509"/>
<area shape="rect" title=" " alt="" coords="270,5,349,83"/>
<area shape="rect" title="STL class." alt="" coords="5,204,163,281"/>
<area shape="rect" title=" " alt="" coords="65,5,103,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aadd249062c24f9b7fc545c03296bbb83"><td class="memItemLeft" align="right" valign="top"><a id="aadd249062c24f9b7fc545c03296bbb83"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>ImportCallbackFunctiopn</b> = std::function&lt; void(const std::string &amp;, const std::string &amp;, size_t, size_t)&gt;</td></tr>
<tr class="separator:aadd249062c24f9b7fc545c03296bbb83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a3bc26cc1e0f00f0ce2f95c0b6c8778d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">SlotImportKeys</a> (QWidget *parent, const std::string &amp;in_buffer)</td></tr>
<tr class="separator:a3bc26cc1e0f00f0ce2f95c0b6c8778d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a057526790f6b2f6288c3a35322c34d8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a057526790f6b2f6288c3a35322c34d8d">SlotImportKeyFromFile</a> (QWidget *parent)</td></tr>
<tr class="separator:a057526790f6b2f6288c3a35322c34d8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1b3538d3119c8564e83c7661f73f6ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#af1b3538d3119c8564e83c7661f73f6ea">SlotImportKeyFromKeyServer</a> (QWidget *parent)</td></tr>
<tr class="separator:af1b3538d3119c8564e83c7661f73f6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c8bf56fc5371cd2c5e9d2a0f67bf72a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a0c8bf56fc5371cd2c5e9d2a0f67bf72a">SlotImportKeyFromClipboard</a> (QWidget *parent)</td></tr>
<tr class="separator:a0c8bf56fc5371cd2c5e9d2a0f67bf72a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35a47fc31b81b6c4f5899e8ab5c4c51a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a35a47fc31b81b6c4f5899e8ab5c4c51a">SlotImportKeyFromKeyServer</a> (const GpgFrontend::KeyIdArgsList &amp;key_ids, const GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn &amp;callback)</td></tr>
<tr class="separator:a35a47fc31b81b6c4f5899e8ab5c4c51a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc845c1c37487c99f78d8e66f6874f6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#afc845c1c37487c99f78d8e66f6874f6d">SlotExecuteGpgCommand</a> (const QStringList &amp;arguments, const std::function&lt; void(QProcess *)&gt; &amp;interact_func)</td></tr>
<tr class="separator:afc845c1c37487c99f78d8e66f6874f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a4bc9e91daa0d3c4ee4141ba4bd8726bb"><td class="memItemLeft" align="right" valign="top"><a id="a4bc9e91daa0d3c4ee4141ba4bd8726bb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SignalKeyStatusUpdated</b> ()</td></tr>
<tr class="separator:a4bc9e91daa0d3c4ee4141ba4bd8726bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d2f10c2089c2bfb23be5c1f573af31f"><td class="memItemLeft" align="right" valign="top"><a id="a4d2f10c2089c2bfb23be5c1f573af31f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SignalGnupgNotInstall</b> ()</td></tr>
<tr class="separator:a4d2f10c2089c2bfb23be5c1f573af31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1abc83bba95579aa94d0870181991a28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">SignalKeyDatabaseRefreshDone</a> ()</td></tr>
<tr class="memdesc:a1abc83bba95579aa94d0870181991a28"><td class="mdescLeft">&#160;</td><td class="mdescRight">emit when the key database is refreshed <a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">More...</a><br /></td></tr>
<tr class="separator:a1abc83bba95579aa94d0870181991a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a78f5c2696152e9326e845c76c94be965"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils</a> ()</td></tr>
<tr class="memdesc:a78f5c2696152e9326e845c76c94be965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Common Utils object. <a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">More...</a><br /></td></tr>
<tr class="separator:a78f5c2696152e9326e845c76c94be965"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aed529969f54e39e3f9da14ae6dd00d49"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49">GetInstance</a> ()</td></tr>
<tr class="memdesc:aed529969f54e39e3f9da14ae6dd00d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Instance object. <a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49">More...</a><br /></td></tr>
<tr class="separator:aed529969f54e39e3f9da14ae6dd00d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:ab4ac26378d6a07757720163eb4b1cb0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">slot_update_key_status</a> ()</td></tr>
<tr class="memdesc:ab4ac26378d6a07757720163eb4b1cb0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">update the key status when signal is emitted <a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">More...</a><br /></td></tr>
<tr class="separator:ab4ac26378d6a07757720163eb4b1cb0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:aa533206591b0c57ea93b8f0cb7d795cd"><td class="memItemLeft" align="right" valign="top"><a id="aa533206591b0c57ea93b8f0cb7d795cd"></a>
static std::unique_ptr&lt; <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>instance_</b> = nullptr</td></tr>
<tr class="separator:aa533206591b0c57ea93b8f0cb7d795cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a78f5c2696152e9326e845c76c94be965"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78f5c2696152e9326e845c76c94be965">&#9670;&nbsp;</a></span>CommonUtils()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::CommonUtils::CommonUtils </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Common Utils object. </p>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1CoreCommonUtil.html#a8588dfa6ccb57c055f022b13e2da1e7c">GpgFrontend::CoreCommonUtil::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1SignalStation.html#abe381ce56a7b157a3760b2fd9c3b7419">GpgFrontend::UI::SignalStation::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">SignalKeyDatabaseRefreshDone()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">slot_update_key_status()</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aed529969f54e39e3f9da14ae6dd00d49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed529969f54e39e3f9da14ae6dd00d49">&#9670;&nbsp;</a></span>GetInstance()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a> * GpgFrontend::UI::CommonUtils::GetInstance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Instance object. </p>
<dl class="section return"><dt>Returns</dt><dd>CommonUtils* </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">GpgFrontend::UI::KeyMgmt::create_actions()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a0ab96012df041f2c2e47092db0600355">GpgFrontend::UI::MainWindow::create_actions()</a>, <a class="el" href="namespaceGpgFrontend_1_1UI.html#ab0311557c1d7bde9c56cbca85fefa6ad">GpgFrontend::UI::InitGpgFrontendUI()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a55926649e28a96318b89afba01b966bf">GpgFrontend::UI::MainWindow::slot_import_key_from_edit()</a>.</p>
</div>
</div>
<a id="a1abc83bba95579aa94d0870181991a28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1abc83bba95579aa94d0870181991a28">&#9670;&nbsp;</a></span>SignalKeyDatabaseRefreshDone</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SignalKeyDatabaseRefreshDone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>emit when the key database is refreshed </p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e">slot_update_key_status()</a>.</p>
</div>
</div>
<a id="ab4ac26378d6a07757720163eb4b1cb0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4ac26378d6a07757720163eb4b1cb0e">&#9670;&nbsp;</a></span>slot_update_key_status</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::slot_update_key_status </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>update the key status when signal is emitted </p>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#ad9a902ea54566d4583304b072c4add51">GpgFrontend::GpgKeyGetter::FlushKeyCache()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;::GetAllChannelId()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; TaskRunnerGetter &gt;::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28">SignalKeyDatabaseRefreshDone()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965">CommonUtils()</a>.</p>
</div>
</div>
<a id="afc845c1c37487c99f78d8e66f6874f6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc845c1c37487c99f78d8e66f6874f6d">&#9670;&nbsp;</a></span>SlotExecuteGpgCommand</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand </td>
<td>(</td>
<td class="paramtype">const QStringList &amp;&#160;</td>
<td class="paramname"><em>arguments</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::function&lt; void(QProcess *)&gt; &amp;&#160;</td>
<td class="paramname"><em>interact_func</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">arguments</td><td></td></tr>
<tr><td class="paramname">interact_func</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgInfo.html#a2416ae0ab9bedc61782d16075750a9c0">GpgFrontend::GpgInfo::AppPath</a>, <a class="el" href="classGpgFrontend_1_1GpgContext.html#ad9af3461de36f74ee85be2523f6038e2">GpgFrontend::GpgContext::GetInfo()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgContext &gt;::GetInstance()</a>.</p>
</div>
</div>
<a id="a0c8bf56fc5371cd2c5e9d2a0f67bf72a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c8bf56fc5371cd2c5e9d2a0f67bf72a">&#9670;&nbsp;</a></span>SlotImportKeyFromClipboard</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">SlotImportKeys()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">GpgFrontend::UI::KeyMgmt::create_actions()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a0ab96012df041f2c2e47092db0600355">GpgFrontend::UI::MainWindow::create_actions()</a>.</p>
</div>
</div>
<a id="a057526790f6b2f6288c3a35322c34d8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a057526790f6b2f6288c3a35322c34d8d">&#9670;&nbsp;</a></span>SlotImportKeyFromFile</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1FileOperator.html#a28a3572dc01192b6a4d50b544181084c">GpgFrontend::FileOperator::ReadFile()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">SlotImportKeys()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">GpgFrontend::UI::KeyMgmt::create_actions()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a0ab96012df041f2c2e47092db0600355">GpgFrontend::UI::MainWindow::create_actions()</a>.</p>
</div>
</div>
<a id="a35a47fc31b81b6c4f5899e8ab5c4c51a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35a47fc31b81b6c4f5899e8ab5c4c51a">&#9670;&nbsp;</a></span>SlotImportKeyFromKeyServer <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer </td>
<td>(</td>
<td class="paramtype">const GpgFrontend::KeyIdArgsList &amp;&#160;</td>
<td class="paramname"><em>key_ids</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ctx_channel</td><td></td></tr>
<tr><td class="paramname">key_ids</td><td></td></tr>
<tr><td class="paramname">callback</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1SettingsObject.html#a5ddcc2e0bc6d4c2f88e6e00371d4792e">GpgFrontend::UI::SettingsObject::Check()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgKeyImportExporter &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GlobalSettingStation &gt;::GetInstance()</a>, <a class="el" href="classGpgFrontend_1_1GlobalSettingStation.html#a14433405831283cd95091d741614d03b">GpgFrontend::GlobalSettingStation::GetUISettings()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#ab7a9be5283047695cd47562775adf79d">GpgFrontend::GpgKeyImportExporter::ImportKey()</a>.</p>
</div>
</div>
<a id="af1b3538d3119c8564e83c7661f73f6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1b3538d3119c8564e83c7661f73f6ea">&#9670;&nbsp;</a></span>SlotImportKeyFromKeyServer <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">GpgFrontend::UI::KeyMgmt::create_actions()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a0ab96012df041f2c2e47092db0600355">GpgFrontend::UI::MainWindow::create_actions()</a>.</p>
</div>
</div>
<a id="a3bc26cc1e0f00f0ce2f95c0b6c8778d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc26cc1e0f00f0ce2f95c0b6c8778d8">&#9670;&nbsp;</a></span>SlotImportKeys</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::CommonUtils::SlotImportKeys </td>
<td>(</td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>in_buffer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td></td></tr>
<tr><td class="paramname">in_buffer</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgKeyImportExporter &gt;::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1GpgKeyImportExporter.html#ab7a9be5283047695cd47562775adf79d">GpgFrontend::GpgKeyImportExporter::ImportKey()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a55926649e28a96318b89afba01b966bf">GpgFrontend::UI::MainWindow::slot_import_key_from_edit()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a0c8bf56fc5371cd2c5e9d2a0f67bf72a">SlotImportKeyFromClipboard()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html#a057526790f6b2f6288c3a35322c34d8d">SlotImportKeyFromFile()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/<a class="el" href="UserInterfaceUtils_8h_source.html">UserInterfaceUtils.h</a></li>
<li>src/ui/UserInterfaceUtils.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="namespaceGpgFrontend_1_1UI.html">UI</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1UI_1_1CommonUtils.html">CommonUtils</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>