\hypertarget{KeyServerImportDialog_8h_source}{}\doxysection{Key\+Server\+Import\+Dialog.\+h} \label{KeyServerImportDialog_8h_source}\index{src/ui/import\_export/KeyServerImportDialog.h@{src/ui/import\_export/KeyServerImportDialog.h}} \begin{DoxyCode}{0} \DoxyCodeLine{1 } \DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_\_KEY\_SERVER\_IMPORT\_DIALOG\_H\_\_}} \DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_\_KEY\_SERVER\_IMPORT\_DIALOG\_H\_\_}} \DoxyCodeLine{31 } \DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}KeyImportDetailDialog.h"{}}} \DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}} \DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}} \DoxyCodeLine{35 \textcolor{preprocessor}{\#include "{}ui/widgets/KeyList.h"{}}} \DoxyCodeLine{36 } \DoxyCodeLine{37 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{} \DoxyCodeLine{38 } \DoxyCodeLine{43 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog}{KeyServerImportDialog}} : \textcolor{keyword}{public} QDialog \{} \DoxyCodeLine{44 Q\_OBJECT} \DoxyCodeLine{45 } \DoxyCodeLine{46 \textcolor{keyword}{public}:} \DoxyCodeLine{53 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a96b40e94b5c5a3216f513b9699820063}{KeyServerImportDialog}}(\textcolor{keywordtype}{bool} automatic, QWidget* parent);} \DoxyCodeLine{54 } \DoxyCodeLine{60 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a96b40e94b5c5a3216f513b9699820063}{KeyServerImportDialog}}(QWidget* parent);} \DoxyCodeLine{61 } \DoxyCodeLine{62 \textcolor{keyword}{public} slots:} \DoxyCodeLine{63 } \DoxyCodeLine{69 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a1e17305d6b470d0f7050eb8e3e6ee3d8}{SlotImport}}(\textcolor{keyword}{const} KeyIdArgsListPtr\& keys);} \DoxyCodeLine{70 } \DoxyCodeLine{77 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a1e17305d6b470d0f7050eb8e3e6ee3d8}{SlotImport}}(\textcolor{keyword}{const} QStringList\& keyIds, \textcolor{keyword}{const} QUrl\& keyserverUrl);} \DoxyCodeLine{78 } \DoxyCodeLine{79 signals:} \DoxyCodeLine{80 } \DoxyCodeLine{85 \textcolor{keywordtype}{void} SignalKeyImported();} \DoxyCodeLine{86 } \DoxyCodeLine{87 \textcolor{keyword}{private} slots:} \DoxyCodeLine{88 } \DoxyCodeLine{93 \textcolor{keywordtype}{void} slot\_import();} \DoxyCodeLine{94 } \DoxyCodeLine{99 \textcolor{keywordtype}{void} slot\_search\_finished();} \DoxyCodeLine{100 } \DoxyCodeLine{106 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a1d083105603805219fe01f37d773693f}{slot\_import\_finished}}(\textcolor{keyword}{const} QString\& keyid);} \DoxyCodeLine{107 } \DoxyCodeLine{112 \textcolor{keywordtype}{void} slot\_search();} \DoxyCodeLine{113 } \DoxyCodeLine{118 \textcolor{keywordtype}{void} slot\_save\_window\_state();} \DoxyCodeLine{119 } \DoxyCodeLine{120 \textcolor{keyword}{private}:} \DoxyCodeLine{125 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a6f006d4702885fb41317d10d654dfa3c}{create\_keys\_table}}();} \DoxyCodeLine{126 } \DoxyCodeLine{133 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_ab93fbf5e0626bffe398f5baa2bc00b1a}{set\_message}}(\textcolor{keyword}{const} QString\& text, \textcolor{keywordtype}{bool} error);} \DoxyCodeLine{134 } \DoxyCodeLine{140 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a3b818c2a3e5c32fc32425b17e63367e2}{import\_keys}}(ByteArrayPtr in\_data);} \DoxyCodeLine{141 } \DoxyCodeLine{147 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_ad4a75da57fa18bfcfaeb7fc601f1c8f6}{set\_loading}}(\textcolor{keywordtype}{bool} status);} \DoxyCodeLine{148 } \DoxyCodeLine{156 QPushButton* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_a1d9ea855fb06f48cca9d85c8ed2c7580}{create\_button}}(\textcolor{keyword}{const} QString\& text, \textcolor{keyword}{const} \textcolor{keywordtype}{char}* member);} \DoxyCodeLine{157 } \DoxyCodeLine{163 QComboBox* \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyServerImportDialog_ab9e2fe38d54c0f0d3d73907300faa513}{create\_comboBox}}();} \DoxyCodeLine{164 } \DoxyCodeLine{165 \textcolor{keywordtype}{bool} m\_automatic\_ = \textcolor{keyword}{false}; } \DoxyCodeLine{166 } \DoxyCodeLine{167 QLineEdit* search\_line\_edit\_\{\}; } \DoxyCodeLine{168 QComboBox* key\_server\_combo\_box\_\{\}; } \DoxyCodeLine{169 QProgressBar* waiting\_bar\_; } \DoxyCodeLine{170 QLabel* search\_label\_\{\}; } \DoxyCodeLine{171 QLabel* key\_server\_label\_\{\}; } \DoxyCodeLine{172 QLabel* message\_\{\}; } \DoxyCodeLine{173 QLabel* icon\_\{\}; } \DoxyCodeLine{174 QPushButton* close\_button\_\{\}; } \DoxyCodeLine{175 QPushButton* import\_button\_\{\}; } \DoxyCodeLine{176 QPushButton* search\_button\_\{\}; } \DoxyCodeLine{177 QTableWidget* keys\_table\_\{\}; } \DoxyCodeLine{178 QNetworkAccessManager* network\_access\_manager\_\{\}; } \DoxyCodeLine{179 \};} \DoxyCodeLine{180 } \DoxyCodeLine{181 \} \textcolor{comment}{// namespace GpgFrontend::UI}} \DoxyCodeLine{182 } \DoxyCodeLine{183 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_\_KEY\_SERVER\_IMPORT\_DIALOG\_H\_\_}} \end{DoxyCode}