166 lines
18 KiB
HTML
166 lines
18 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: src/ui/keypair_details/KeyPairOperaTab.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.8.17 -->
|
|
<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');
|
|
/* @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('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">
|
|
<div class="headertitle">
|
|
<div class="title">KeyPairOperaTab.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="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#ifndef GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "core/function/gpg/GpgKeyGetter.h"</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "ui/GpgFrontendUI.h"</span></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <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> <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>  Q_OBJECT</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classGpgFrontend_1_1UI_1_1KeyPairOperaTab.html#aad4e209d7b4eb0ac6623b2f12ce5ecc5">KeyPairOperaTab</a>(<span class="keyword">const</span> std::string& key_id, QWidget* parent);</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <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>  </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <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>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span> slot_export_short_private_key();</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> slot_export_public_key();</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> slot_modify_edit_datetime();</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> slot_modify_password();</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> slot_upload_key_to_server();</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> slot_update_key_from_server();</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> slot_gen_revoke_cert();</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">void</span> slot_modify_tofu_policy();</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <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>  QMenu* key_server_opera_menu_{}; </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  QMenu* secret_key_export_opera_menu_{}; </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> };</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> } <span class="comment">// namespace GpgFrontend::UI</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor">#endif // GPGFRONTEND_KEYPAIROPERATAB_H</span></div>
|
|
</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> VerifyDetailsDialog.cpp:33</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:41</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:54</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 &path, const std::string &out_buffer)</div><div class="ttdef"><b>Definition:</b> GpgConstants.cpp:135</div></div>
|
|
<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< GpgKeyImportExporter >::GetInstance</a></div><div class="ttdeci">static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)</div><div class="ttdoc">Get the Instance object.</div><div class="ttdef"><b>Definition:</b> GpgFunctionObject.h:57</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:210</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:42</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:62</div></div>
|
|
<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 &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 &key)</div><div class="ttdef"><b>Definition:</b> GpgKeyOpera.cpp:276</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:140</div></div>
|
|
<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:64</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:183</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:148</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:124</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 &key, gpgme_tofu_policy_t tofu_policy)</div><div class="ttdef"><b>Definition:</b> GpgKeyOpera.cpp:285</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:70</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:44</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:58</div></div>
|
|
<!-- 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_be96635c88cbde2113e66f957baee3c5.html">keypair_details</a></li><li class="navelem"><b>KeyPairOperaTab.h</b></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>
|