aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/widgets/KeyList.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-06-23 08:45:07 +0000
committerGitHub <[email protected]>2021-06-23 08:45:07 +0000
commit76d3947130a51ba3bfd425144ddbe0d2a704f463 (patch)
treeaae77ffa5d4a1636d0778c67c9d573a74bde220f /include/ui/widgets/KeyList.h
parentMerge pull request #3 from saturneric/develop (diff)
parentMerge branch 'main' into develop (diff)
downloadGpgFrontend-76d3947130a51ba3bfd425144ddbe0d2a704f463.tar.gz
GpgFrontend-76d3947130a51ba3bfd425144ddbe0d2a704f463.zip
Merge pull request #4 from saturneric/develop
UI Improved.
Diffstat (limited to '')
-rw-r--r--include/ui/widgets/KeyList.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/ui/widgets/KeyList.h b/include/ui/widgets/KeyList.h
index fe554495..413d0969 100644
--- a/include/ui/widgets/KeyList.h
+++ b/include/ui/widgets/KeyList.h
@@ -85,9 +85,10 @@ public:
void setChecked(QStringList *keyIds);
- //QStringList *getPrivateChecked();
QStringList *getSelected();
+ GpgKey getSelectedKey();
+
[[maybe_unused]] static void markKeys(QStringList *keyIds);
[[maybe_unused]] bool containsPrivateKeys();
@@ -96,8 +97,6 @@ public slots:
void slotRefresh();
- void uploadKeyToServer(QByteArray *keys);
-
private:
void importKeys(QByteArray inBuffer);
@@ -120,11 +119,8 @@ private:
private slots:
- void uploadFinished();
-
void slotDoubleClicked(const QModelIndex &index);
-
protected:
void contextMenuEvent(QContextMenuEvent *event) override;