aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKeyGenerateInfo.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-18 17:11:40 +0000
committersaturneric <[email protected]>2025-04-18 17:11:40 +0000
commit502a43488d51c88be33d95be11ba8f160c2a3fd4 (patch)
tree87ee50bc5fdb1ca89d71ccfc988b1e6f67550f83 /src/core/model/GpgKeyGenerateInfo.h
parentfeat: add more info check (diff)
downloadGpgFrontend-502a43488d51c88be33d95be11ba8f160c2a3fd4.tar.gz
GpgFrontend-502a43488d51c88be33d95be11ba8f160c2a3fd4.zip
feat: add more basic env checks at init
Diffstat (limited to 'src/core/model/GpgKeyGenerateInfo.h')
-rw-r--r--src/core/model/GpgKeyGenerateInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/model/GpgKeyGenerateInfo.h b/src/core/model/GpgKeyGenerateInfo.h
index 2956a00d..b3f3b2c7 100644
--- a/src/core/model/GpgKeyGenerateInfo.h
+++ b/src/core/model/GpgKeyGenerateInfo.h
@@ -62,7 +62,7 @@ class GPGFRONTEND_CORE_EXPORT KeyAlgo {
[[nodiscard]] auto CanCert() const -> bool;
- [[nodiscard]] auto IsSupported(const QString &version) const -> bool;
+ [[nodiscard]] auto SupportedVersion() const -> QString;
private:
QString id_;
@@ -96,14 +96,14 @@ class GPGFRONTEND_CORE_EXPORT KeyGenerateInfo : public QObject {
*
* @return const QContainer<KeyGenAlgo>&
*/
- static auto GetSupportedKeyAlgo() -> QContainer<KeyAlgo>;
+ static auto GetSupportedKeyAlgo(int channel) -> QContainer<KeyAlgo>;
/**
* @brief Get the Supported Subkey Algo object
*
* @return const QContainer<KeyGenAlgo>&
*/
- static auto GetSupportedSubkeyAlgo() -> QContainer<KeyAlgo>;
+ static auto GetSupportedSubkeyAlgo(int channel) -> QContainer<KeyAlgo>;
/**
* @brief