aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-16 18:05:00 +0000
committersaturneric <[email protected]>2025-04-16 18:05:00 +0000
commit272cf34f21ab1741d24673a7e3b7c95567a74cec (patch)
tree4497435e41a8bbdd7560cee57b2c8c4171099951 /src/ui/widgets/KeyList.h
parentfix: found bugs (diff)
downloadGpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.tar.gz
GpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.zip
fix: testing and solve bugs found
Diffstat (limited to 'src/ui/widgets/KeyList.h')
-rw-r--r--src/ui/widgets/KeyList.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h
index 0b0b9be6..bb48c63b 100644
--- a/src/ui/widgets/KeyList.h
+++ b/src/ui/widgets/KeyList.h
@@ -135,19 +135,6 @@ class KeyList : public QWidget {
void SetColumnWidth(int row, int size);
/**
- * @brief
- *
- * @param act
- */
- void AddMenuAction(QAction* act);
-
- /**
- * @brief
- *
- */
- void AddSeparator();
-
- /**
* @brief Get the Checked Keys object
*
* @return QStringList
@@ -288,6 +275,12 @@ class KeyList : public QWidget {
*/
void SignalKeyChecked();
+ /**
+ * @brief
+ *
+ */
+ void SignalRequestContextMenu(QContextMenuEvent* event, KeyTable*);
+
protected:
/**
* @brief
@@ -326,7 +319,6 @@ class KeyList : public QWidget {
private:
std::shared_ptr<Ui_KeyList> ui_; ///<
- QMenu* popup_menu_{}; ///<
std::function<void(const GpgKey&, QWidget*)> m_action_ = nullptr; ///<
int current_gpg_context_channel_;
KeyMenuAbility menu_ability_ = KeyMenuAbility::kALL; ///<