diff options
Diffstat (limited to 'src/core/model/GpgPassphraseContext.h')
-rw-r--r-- | src/core/model/GpgPassphraseContext.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/model/GpgPassphraseContext.h b/src/core/model/GpgPassphraseContext.h index 3e6ce4d0..2bc1ac75 100644 --- a/src/core/model/GpgPassphraseContext.h +++ b/src/core/model/GpgPassphraseContext.h @@ -36,7 +36,7 @@ class GPGFRONTEND_CORE_EXPORT GpgPassphraseContext : public QObject { Q_OBJECT public: GpgPassphraseContext(const QString& uids_info, const QString& passphrase_info, - bool prev_was_bad); + bool prev_was_bad, bool ask_for_new); GpgPassphraseContext(); @@ -50,11 +50,14 @@ class GPGFRONTEND_CORE_EXPORT GpgPassphraseContext : public QObject { [[nodiscard]] auto IsPreWasBad() const -> bool; + [[nodiscard]] auto IsAskForNew() const -> bool; + private: QString passphrase_info_; QString uids_info_; QString passphrase_; bool prev_was_bad_; + bool ask_for_new_; }; } // namespace GpgFrontend
\ No newline at end of file |