195 lines
19 KiB
HTML
195 lines
19 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=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.3"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: src/ui/KeyMgmt.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<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.3 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search",'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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('KeyMgmt_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">KeyMgmt.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#ifndef __KEYMGMT_H__</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#define __KEYMGMT_H__</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include "import_export/KeyImportDetailDialog.h"</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include "import_export/KeyServerImportDialog.h"</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include "ui/GpgFrontendUI.h"</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include "ui/key_generate/KeygenDialog.h"</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include "ui/keypair_details/KeyDetailsDialog.h"</span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include "ui/widgets/KeyList.h"</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html"> 45</a></span><span class="keyword">class </span><a class="code hl_class" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html">KeyMgmt</a> : <span class="keyword">public</span> QMainWindow {</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> Q_OBJECT</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#aefc27b57830cf14a85c2225664f89f64">KeyMgmt</a>(QWidget* parent = <span class="keyword">nullptr</span>);</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span> SlotGenerateSubKey();</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> SlotExportKeyToKeyPackage();</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">void</span> SlotExportKeyToClipboard();</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> SlotExportAsOpenSSHFormat();</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordtype">void</span> SlotDeleteSelectedKeys();</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span> SlotDeleteCheckedKeys();</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">void</span> SlotGenerateKeyDialog();</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordtype">void</span> SlotShowKeyDetails();</div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span> SlotSaveWindowState();</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordtype">void</span> SlotImportKeyPackage();</div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> signals:</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">void</span> SignalStatusBarChanged(QString);</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordtype">void</span> SignalKeyStatusUpdated();</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a6ee90b63414038e9f840933a5b2c5e46">create_menus</a>();</div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">create_actions</a>();</div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a6791486fd94567d504d48050c23476b5">create_tool_bars</a>();</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a0b139ae0d4baa234932cf228e94abd6b">delete_keys_with_warning</a>(GpgFrontend::KeyIdArgsListPtr uidList);</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1KeyList.html">KeyList</a>* key_list_; </div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> QMenu* file_menu_{}; </div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> QMenu* key_menu_{}; </div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> QMenu* generate_key_menu_{}; </div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> QMenu* import_key_menu_{}; </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> QAction* open_key_file_act_{}; </div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> QAction* export_key_to_file_act_{}; </div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> QAction* export_key_as_open_ssh_format_{}; </div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> QAction* export_key_to_clipboard_act_{}; </div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> QAction* delete_checked_keys_act_{}; </div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> QAction* delete_selected_keys_act_{}; </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> QAction* generate_key_dialog_act_{}; </div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> QAction* generate_key_pair_act_{}; </div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> QAction* generate_subkey_act_{}; </div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> QAction* import_key_from_clipboard_act_{}; </div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> QAction* import_key_from_file_act_{}; </div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> QAction* import_key_from_key_server_act_{}; </div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> QAction* import_keys_from_key_package_act_{}; </div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> QAction* close_act_{}; </div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> QAction* show_key_details_act_{}; </div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html">KeyServerImportDialog</a>* import_dialog_{}; </div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a78b53193b055e10550938f403b641b31">closeEvent</a>(QCloseEvent* event) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span>};</div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span>} <span class="comment">// namespace GpgFrontend::UI</span></div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span><span class="preprocessor">#endif </span><span class="comment">// __KEYMGMT_H__</span></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyList_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyList.html">GpgFrontend::UI::KeyList</a></div><div class="ttdef"><b>Definition:</b> KeyList.h:152</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html">GpgFrontend::UI::KeyMgmt</a></div><div class="ttdef"><b>Definition:</b> KeyMgmt.h:45</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_a0b139ae0d4baa234932cf228e94abd6b"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a0b139ae0d4baa234932cf228e94abd6b">GpgFrontend::UI::KeyMgmt::delete_keys_with_warning</a></div><div class="ttdeci">void delete_keys_with_warning(GpgFrontend::KeyIdArgsListPtr uidList)</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:328</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_a23cf6665537f2a96708e9d5423ce3bb8"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a23cf6665537f2a96708e9d5423ce3bb8">GpgFrontend::UI::KeyMgmt::create_actions</a></div><div class="ttdeci">void create_actions()</div><div class="ttdoc">Create a actions object.</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:169</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_a6791486fd94567d504d48050c23476b5"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a6791486fd94567d504d48050c23476b5">GpgFrontend::UI::KeyMgmt::create_tool_bars</a></div><div class="ttdeci">void create_tool_bars()</div><div class="ttdoc">Create a tool bars object.</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:288</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_a6ee90b63414038e9f840933a5b2c5e46"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a6ee90b63414038e9f840933a5b2c5e46">GpgFrontend::UI::KeyMgmt::create_menus</a></div><div class="ttdeci">void create_menus()</div><div class="ttdoc">Create a menus object.</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:265</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_a78b53193b055e10550938f403b641b31"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#a78b53193b055e10550938f403b641b31">GpgFrontend::UI::KeyMgmt::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:409</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyMgmt_html_aefc27b57830cf14a85c2225664f89f64"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyMgmt.html#aefc27b57830cf14a85c2225664f89f64">GpgFrontend::UI::KeyMgmt::KeyMgmt</a></div><div class="ttdeci">KeyMgmt(QWidget *parent=nullptr)</div><div class="ttdoc">Construct a new Key Mgmt object.</div><div class="ttdef"><b>Definition:</b> KeyMgmt.cpp:46</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html">GpgFrontend::UI::KeyServerImportDialog</a></div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.h:43</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> VerifyDetailsDialog.cpp:33</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>KeyMgmt.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.3 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|