diff options
author | Saturn&Eric <[email protected]> | 2022-07-23 14:54:51 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-07-23 14:54:51 +0000 |
commit | b244320b2d228189767aa6d59febceb6b64527fb (patch) | |
tree | 179d34e2a3e84231fad72c4bbe9f74673d0b74d0 /src/ui/dialog/SignersPicker.h | |
parent | Merge pull request #68 from saturneric/develop-2.0.8 (diff) | |
parent | feat(project): add rpm package support (diff) | |
download | GpgFrontend-2.0.9.tar.gz GpgFrontend-2.0.9.zip |
Merge pull request #70 from saturneric/dev/2.0.8/saturnericv2.0.9
Develop 2.0.9.1
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/SignersPicker.h (renamed from src/ui/widgets/SignersPicker.h) | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/ui/widgets/SignersPicker.h b/src/ui/dialog/SignersPicker.h index 30f872f8..5533f9d8 100644 --- a/src/ui/widgets/SignersPicker.h +++ b/src/ui/dialog/SignersPicker.h @@ -1,7 +1,7 @@ -/** - * Copyright (C) 2021 Saturneric +/* + * Copyright (c) 2022. Saturneric * - * This file is part of GpgFrontend. + * This file is part of GpgFrontend. * * GpgFrontend is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,13 +23,13 @@ * Saturneric<[email protected]> starting on May 12, 2021. * * SPDX-License-Identifier: GPL-3.0-or-later - * */ #ifndef GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H #define GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H #include "GpgFrontendUI.h" +#include "ui/dialog//GeneralDialog.h" namespace GpgFrontend::UI { @@ -39,7 +39,7 @@ class KeyList; * @brief * */ -class SignersPicker : public QDialog { +class SignersPicker : public GeneralDialog { Q_OBJECT public: @@ -57,8 +57,15 @@ class SignersPicker : public QDialog { */ GpgFrontend::KeyIdArgsListPtr GetCheckedSigners(); + /** + * + * @return + */ + [[nodiscard]] bool GetStatus() const; + private: KeyList* key_list_; ///< + bool accepted_ = false; }; } // namespace GpgFrontend::UI |