aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/ADSKsPicker.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/dialog/ADSKsPicker.h
parentfix: found bugs (diff)
downloadGpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.tar.gz
GpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.zip
fix: testing and solve bugs found
Diffstat (limited to 'src/ui/dialog/ADSKsPicker.h')
-rw-r--r--src/ui/dialog/ADSKsPicker.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ui/dialog/ADSKsPicker.h b/src/ui/dialog/ADSKsPicker.h
index 59c7b06b..577ac06a 100644
--- a/src/ui/dialog/ADSKsPicker.h
+++ b/src/ui/dialog/ADSKsPicker.h
@@ -50,16 +50,23 @@ class ADSKsPicker : public GeneralDialog {
*
* @param parent
*/
- explicit ADSKsPicker(int channel,
+ explicit ADSKsPicker(int channel, GpgKeyPtr key,
const GpgKeyTreeProxyModel::KeyFilter& filter,
QWidget* parent = nullptr);
- signals:
- void SignalSubkeyChecked(QContainer<GpgSubKey>);
+ private slots:
+ /**
+ * @brief
+ *
+ * @param s_keys
+ */
+ void slot_add_adsk(const QContainer<GpgSubKey>& s_keys);
private:
KeyTreeView* tree_view_; ///<
bool accepted_ = false;
+ int channel_;
+ GpgKeyPtr key_;
};
} // namespace GpgFrontend::UI