aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/KeyServerImportDialog.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-23 08:14:31 +0000
committerSaturneric <[email protected]>2021-06-23 08:14:31 +0000
commitf96179e926ee8733ed3bd8c8b950cb24f57e46d5 (patch)
treeaae77ffa5d4a1636d0778c67c9d573a74bde220f /include/ui/KeyServerImportDialog.h
parentFix Problem in Project Configuration. (diff)
downloadGpgFrontend-f96179e926ee8733ed3bd8c8b950cb24f57e46d5.tar.gz
GpgFrontend-f96179e926ee8733ed3bd8c8b950cb24f57e46d5.zip
UI Improved.
Bugs Fixed.
Diffstat (limited to 'include/ui/KeyServerImportDialog.h')
-rw-r--r--include/ui/KeyServerImportDialog.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/include/ui/KeyServerImportDialog.h b/include/ui/KeyServerImportDialog.h
index 0a77aece..6fd45fc5 100644
--- a/include/ui/KeyServerImportDialog.h
+++ b/include/ui/KeyServerImportDialog.h
@@ -37,10 +37,14 @@ public:
KeyServerImportDialog(GpgME::GpgContext *ctx, KeyList *keyList, bool automatic,
QWidget *parent);
+ KeyServerImportDialog(GpgME::GpgContext *ctx, QWidget *parent);
+
void slotImport(const QStringList& keyIds);
void slotImport(const QStringList& keyIds, const QUrl& keyserverUrl);
+ void slotImportKey(const QVector<GpgKey>& keys);
+
private slots:
void slotImport();
@@ -70,17 +74,17 @@ private:
QSettings settings;
GpgME::GpgContext *mCtx;
- KeyList *mKeyList;
- QLineEdit *searchLineEdit;
- QComboBox *keyServerComboBox;
+ KeyList *mKeyList{};
+ QLineEdit *searchLineEdit{};
+ QComboBox *keyServerComboBox{};
QProgressBar *waitingBar;
- QLabel *searchLabel;
- QLabel *keyServerLabel;
- QLabel *message;
- QLabel *icon;
- QPushButton *closeButton;
- QPushButton *importButton;
- QPushButton *searchButton;
+ QLabel *searchLabel{};
+ QLabel *keyServerLabel{};
+ QLabel *message{};
+ QLabel *icon{};
+ QPushButton *closeButton{};
+ QPushButton *importButton{};
+ QPushButton *searchButton{};
QTableWidget *keysTable{};
QNetworkAccessManager *qnam{};