aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-07-13 06:51:32 +0000
committerSaturneric <[email protected]>2023-07-13 06:51:32 +0000
commit7c96f052da1f73cbcd2f0671640d1019eaaa906a (patch)
tree814d98407a0a3bc8adb32f4b8065d8428f016eb9 /src/ui/widgets/KeyList.h
parentfeat: add CacheManager to deal with cache (diff)
downloadGpgFrontend-7c96f052da1f73cbcd2f0671640d1019eaaa906a.tar.gz
GpgFrontend-7c96f052da1f73cbcd2f0671640d1019eaaa906a.zip
feat: support marking a key as favourite
Diffstat (limited to 'src/ui/widgets/KeyList.h')
-rw-r--r--src/ui/widgets/KeyList.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h
index f1c88cc6..63b5f7af 100644
--- a/src/ui/widgets/KeyList.h
+++ b/src/ui/widgets/KeyList.h
@@ -171,7 +171,7 @@ class KeyList : public QWidget {
* @param filter
*/
void AddListGroupTab(
- const QString& name,
+ const QString& name, const QString& id,
KeyListRow::KeyType selectType = KeyListRow::SECRET_OR_PUBLIC_KEY,
KeyListColumn::InfoType infoType = KeyListColumn::ALL,
const std::function<bool(const GpgKey&)>& filter =
@@ -303,6 +303,12 @@ class KeyList : public QWidget {
*/
void SlotRefresh();
+ /**
+ * @brief
+ *
+ */
+ void SlotRefreshUI();
+
private:
/**
* @brief