GpgFrontend-Doxygen/docs/html/KeyPairOperaTab_8h_source.html

166 lines
18 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.8.17"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: src/ui/dialog/keypair_details/KeyPairOperaTab.h Source File</title>
2022-05-08 19:59:26 +00:00
<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 -->
2022-05-08 22:01:23 +00:00
<!-- Generated by Doxygen 1.8.17 -->
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');
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('KeyPairOperaTab_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">KeyPairOperaTab.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="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#ifndef GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;core/function/gpg/GpgKeyGetter.h&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;ui/GpgFrontendUI.h&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html"> 34</a></span>&#160;<span class="keyword">class </span><a class="code" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html">KeyPairOperaTab</a> : <span class="keyword">public</span> QWidget {</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; Q_OBJECT</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#aad4e209d7b4eb0ac6623b2f12ce5ecc5">KeyPairOperaTab</a>(<span class="keyword">const</span> std::string&amp; key_id, QWidget* parent);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#a4dcec352e412afe5c5491f941495090f">CreateOperaMenu</a>();</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">private</span> slots:</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#a384f4250e58110da58c0e6996b42a8ab">slot_export_private_key</a>();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordtype">void</span> slot_export_short_private_key();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> slot_export_public_key();</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordtype">void</span> slot_modify_edit_datetime();</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordtype">void</span> slot_modify_password();</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">void</span> slot_upload_key_to_server();</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordtype">void</span> slot_update_key_from_server();</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">void</span> slot_gen_revoke_cert();</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordtype">void</span> slot_modify_tofu_policy();</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> m_key_; </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; QMenu* key_server_opera_menu_{}; </div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; QMenu* secret_key_export_opera_menu_{}; </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;};</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;} <span class="comment">// namespace GpgFrontend::UI</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#endif // GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
2022-05-08 19:59:26 +00:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<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="aclassGpgFrontend_1_1UI_1_1KeySetExpireDateDialog_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeySetExpireDateDialog.html">GpgFrontend::UI::KeySetExpireDateDialog</a></div><div class="ttdef"><b>Definition:</b> KeySetExpireDateDialog.h:42</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_a8930f958f3ca1f5566f63e8c2273837e"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#a8930f958f3ca1f5566f63e8c2273837e">GpgFrontend::GpgKey::GetId</a></div><div class="ttdeci">std::string GetId() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:52</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a5135069571678eda9c1f07d17ed9ac41"><div class="ttname"><a href="namespaceGpgFrontend.html#a5135069571678eda9c1f07d17ed9ac41">GpgFrontend::write_buffer_to_file</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &amp;path, const std::string &amp;out_buffer)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:128</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyPairOperaTab_html_a4dcec352e412afe5c5491f941495090f"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#a4dcec352e412afe5c5491f941495090f">GpgFrontend::UI::KeyPairOperaTab::CreateOperaMenu</a></div><div class="ttdeci">void CreateOperaMenu()</div><div class="ttdoc">Create a Opera Menu object.</div><div class="ttdef"><b>Definition:</b> KeyPairOperaTab.cpp:103</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1SingletonFunctionObject_html_a70484d7cfe9f9dcbcd5f8bb749250f36"><div class="ttname"><a href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgKeyImportExporter &gt;::GetInstance</a></div><div class="ttdeci">static GpgKeyImportExporter &amp; GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:170</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyPairOperaTab_html_a384f4250e58110da58c0e6996b42a8ab"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#a384f4250e58110da58c0e6996b42a8ab">GpgFrontend::UI::KeyPairOperaTab::slot_export_private_key</a></div><div class="ttdeci">void slot_export_private_key()</div><div class="ttdef"><b>Definition:</b> KeyPairOperaTab.cpp:217</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKeyGetter_html"><div class="ttname"><a href="classGpgFrontend_1_1GpgKeyGetter.html">GpgFrontend::GpgKeyGetter</a></div><div class="ttdef"><b>Definition:</b> GpgKeyGetter.h:45</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_a55a6485f6c2cc5bec0fdf02cd7e0d8ea"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#a55a6485f6c2cc5bec0fdf02cd7e0d8ea">GpgFrontend::GpgKey::GetEmail</a></div><div class="ttdeci">std::string GetEmail() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:60</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyPairOperaTab_html_aad4e209d7b4eb0ac6623b2f12ce5ecc5"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#aad4e209d7b4eb0ac6623b2f12ce5ecc5">GpgFrontend::UI::KeyPairOperaTab::KeyPairOperaTab</a></div><div class="ttdeci">KeyPairOperaTab(const std::string &amp;key_id, QWidget *parent)</div><div class="ttdoc">Construct a new Key Pair Opera Tab object.</div><div class="ttdef"><b>Definition:</b> KeyPairOperaTab.cpp:38</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKeyOpera_html_ab7e16d1f4cba23ea5b5b9f6009ce5ee2"><div class="ttname"><a href="classGpgFrontend_1_1GpgKeyOpera.html#ab7e16d1f4cba23ea5b5b9f6009ce5ee2">GpgFrontend::GpgKeyOpera::ModifyPassword</a></div><div class="ttdeci">GpgFrontend::GpgError ModifyPassword(const GpgKey &amp;key)</div><div class="ttdef"><b>Definition:</b> GpgKeyOpera.cpp:275</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_a888c0263f04bdd52967e092b9c73eb6d"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#a888c0263f04bdd52967e092b9c73eb6d">GpgFrontend::GpgKey::IsPrivateKey</a></div><div class="ttdeci">bool IsPrivateKey() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:138</div></div>
2022-05-08 22:01:23 +00:00
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyPairOperaTab_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html">GpgFrontend::UI::KeyPairOperaTab</a></div><div class="ttdef"><b>Definition:</b> KeyPairOperaTab.h:34</div></div>
<div class="ttc" id="anamespaceGpgFrontend_html_a4edac6df92596ba8eea3a8cdc1173684"><div class="ttname"><a href="namespaceGpgFrontend.html#a4edac6df92596ba8eea3a8cdc1173684">GpgFrontend::check_gpg_error_2_err_code</a></div><div class="ttdeci">GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:63</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:215</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_aadac1b776764ee9d0ca4f8bb9f9e0741"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#aadac1b776764ee9d0ca4f8bb9f9e0741">GpgFrontend::GpgKey::IsHasMasterKey</a></div><div class="ttdeci">bool IsHasMasterKey() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:146</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1CommonUtils_html_aed529969f54e39e3f9da14ae6dd00d49"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49">GpgFrontend::UI::CommonUtils::GetInstance</a></div><div class="ttdeci">static CommonUtils * GetInstance()</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> UserInterfaceUtils.cpp:143</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKeyOpera_html_a76a7f59701add8a59d8835919dad2000"><div class="ttname"><a href="classGpgFrontend_1_1GpgKeyOpera.html#a76a7f59701add8a59d8835919dad2000">GpgFrontend::GpgKeyOpera::ModifyTOFUPolicy</a></div><div class="ttdeci">GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey &amp;key, gpgme_tofu_policy_t tofu_policy)</div><div class="ttdef"><b>Definition:</b> GpgKeyOpera.cpp:284</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_a165b3f645e2c6a4bbd024199e1f1cc9b"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#a165b3f645e2c6a4bbd024199e1f1cc9b">GpgFrontend::GpgKey::GetFingerprint</a></div><div class="ttdeci">std::string GetFingerprint() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:68</div></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:41</div></div>
<div class="ttc" id="aclassGpgFrontend_1_1GpgKey_html_a7bceca68800c3ada9280c29eaeb5affc"><div class="ttname"><a href="classGpgFrontend_1_1GpgKey.html#a7bceca68800c3ada9280c29eaeb5affc">GpgFrontend::GpgKey::GetName</a></div><div class="ttdeci">std::string GetName() const</div><div class="ttdef"><b>Definition:</b> GpgKey.cpp:56</div></div>
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"><a class="el" href="dir_60d155722ad55e64f9b6ab1078feff11.html">dialog</a></li><li class="navelem"><a class="el" href="dir_11afffa0017fe763467cff6465c6cba1.html">keypair_details</a></li><li class="navelem"><b>KeyPairOperaTab.h</b></li>
2022-05-08 22:01:23 +00:00
<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>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>