184 lines
20 KiB
HTML
184 lines
20 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/import_export/KeyServerImportDialog.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('KeyServerImportDialog_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">KeyServerImportDialog.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 __KEY_SERVER_IMPORT_DIALOG_H__</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#define __KEY_SERVER_IMPORT_DIALOG_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 "KeyImportDetailDialog.h"</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include "core/GpgContext.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/widgets/KeyList.h"</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</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="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html"> 43</a></span><span class="keyword">class </span><a class="code hl_class" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html">KeyServerImportDialog</a> : <span class="keyword">public</span> QDialog {</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> Q_OBJECT</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a96b40e94b5c5a3216f513b9699820063">KeyServerImportDialog</a>(<span class="keywordtype">bool</span> automatic, QWidget* parent);</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">explicit</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a96b40e94b5c5a3216f513b9699820063">KeyServerImportDialog</a>(QWidget* parent);</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1e17305d6b470d0f7050eb8e3e6ee3d8">SlotImport</a>(<span class="keyword">const</span> KeyIdArgsListPtr& keys);</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1e17305d6b470d0f7050eb8e3e6ee3d8">SlotImport</a>(<span class="keyword">const</span> QStringList& keyIds, <span class="keyword">const</span> QUrl& keyserverUrl);</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> signals:</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">void</span> SignalKeyImported();</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> slot_import();</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">void</span> slot_search_finished();</div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1d083105603805219fe01f37d773693f">slot_import_finished</a>(<span class="keyword">const</span> QString& keyid);</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span> slot_search();</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordtype">void</span> slot_save_window_state();</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a6f006d4702885fb41317d10d654dfa3c">create_keys_table</a>();</div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ab93fbf5e0626bffe398f5baa2bc00b1a">set_message</a>(<span class="keyword">const</span> QString& text, <span class="keywordtype">bool</span> error);</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a3b818c2a3e5c32fc32425b17e63367e2">import_keys</a>(ByteArrayPtr in_data);</div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ad4a75da57fa18bfcfaeb7fc601f1c8f6">set_loading</a>(<span class="keywordtype">bool</span> status);</div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1d9ea855fb06f48cca9d85c8ed2c7580"> 156</a></span> QPushButton* <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1d9ea855fb06f48cca9d85c8ed2c7580">create_button</a>(<span class="keyword">const</span> QString& text, <span class="keyword">const</span> <span class="keywordtype">char</span>* member);</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> QComboBox* <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ab9e2fe38d54c0f0d3d73907300faa513">create_comboBox</a>();</div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keywordtype">bool</span> m_automatic_ = <span class="keyword">false</span>; </div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> QLineEdit* search_line_edit_{}; </div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> QComboBox* key_server_combo_box_{}; </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> QProgressBar* waiting_bar_; </div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> QLabel* search_label_{}; </div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> QLabel* key_server_label_{}; </div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> QLabel* message_{}; </div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> QLabel* icon_{}; </div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> QPushButton* close_button_{}; </div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> QPushButton* import_button_{}; </div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> QPushButton* search_button_{}; </div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> QTableWidget* keys_table_{}; </div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> QNetworkAccessManager* network_access_manager_{}; </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> </div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span>} <span class="comment">// namespace GpgFrontend::UI</span></div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span><span class="preprocessor">#endif </span><span class="comment">// __KEY_SERVER_IMPORT_DIALOG_H__</span></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="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a1d083105603805219fe01f37d773693f"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1d083105603805219fe01f37d773693f">GpgFrontend::UI::KeyServerImportDialog::slot_import_finished</a></div><div class="ttdeci">void slot_import_finished(const QString &keyid)</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:449</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a1d9ea855fb06f48cca9d85c8ed2c7580"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1d9ea855fb06f48cca9d85c8ed2c7580">GpgFrontend::UI::KeyServerImportDialog::create_button</a></div><div class="ttdeci">QPushButton * create_button(const QString &text, const char *member)</div><div class="ttdoc">Create a button object.</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a1e17305d6b470d0f7050eb8e3e6ee3d8"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a1e17305d6b470d0f7050eb8e3e6ee3d8">GpgFrontend::UI::KeyServerImportDialog::SlotImport</a></div><div class="ttdeci">void SlotImport(const KeyIdArgsListPtr &keys)</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:401</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a3b818c2a3e5c32fc32425b17e63367e2"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a3b818c2a3e5c32fc32425b17e63367e2">GpgFrontend::UI::KeyServerImportDialog::import_keys</a></div><div class="ttdeci">void import_keys(ByteArrayPtr in_data)</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:509</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a6f006d4702885fb41317d10d654dfa3c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a6f006d4702885fb41317d10d654dfa3c">GpgFrontend::UI::KeyServerImportDialog::create_keys_table</a></div><div class="ttdeci">void create_keys_table()</div><div class="ttdoc">Create a keys table object.</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:177</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_a96b40e94b5c5a3216f513b9699820063"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#a96b40e94b5c5a3216f513b9699820063">GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog</a></div><div class="ttdeci">KeyServerImportDialog(bool automatic, QWidget *parent)</div><div class="ttdoc">Construct a new Key Server Import Dialog object.</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:39</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_ab93fbf5e0626bffe398f5baa2bc00b1a"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ab93fbf5e0626bffe398f5baa2bc00b1a">GpgFrontend::UI::KeyServerImportDialog::set_message</a></div><div class="ttdeci">void set_message(const QString &text, bool error)</div><div class="ttdoc">Set the message object.</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:199</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_ab9e2fe38d54c0f0d3d73907300faa513"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ab9e2fe38d54c0f0d3d73907300faa513">GpgFrontend::UI::KeyServerImportDialog::create_comboBox</a></div><div class="ttdeci">QComboBox * create_comboBox()</div><div class="ttdoc">Create a comboBox object.</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:149</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1KeyServerImportDialog_html_ad4a75da57fa18bfcfaeb7fc601f1c8f6"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html#ad4a75da57fa18bfcfaeb7fc601f1c8f6">GpgFrontend::UI::KeyServerImportDialog::set_loading</a></div><div class="ttdeci">void set_loading(bool status)</div><div class="ttdoc">Set the loading object.</div><div class="ttdef"><b>Definition:</b> KeyServerImportDialog.cpp:524</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"><a class="el" href="dir_3d7cdd7fbfa4715d9319666ec5111ec9.html">import_export</a></li><li class="navelem"><b>KeyServerImportDialog.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>
|