File indexing completed on 2024-06-23 05:13:37
0001 /* 0002 commands/certifygroupcommand.h 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2023 g10 Code GmbH 0006 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #pragma once 0012 0013 #include "command.h" 0014 0015 namespace Kleo 0016 { 0017 class KeyGroup; 0018 0019 class CertifyGroupCommand : public Command 0020 { 0021 Q_OBJECT 0022 public: 0023 explicit CertifyGroupCommand(const KeyGroup &group); 0024 ~CertifyGroupCommand() override; 0025 0026 /* reimp */ static Restrictions restrictions() 0027 { 0028 return MustBeOpenPGP | MustBeValid; 0029 } 0030 0031 private: 0032 void doStart() override; 0033 void doCancel() override; 0034 0035 private: 0036 class Private; 0037 inline Private *d_func(); 0038 inline const Private *d_func() const; 0039 }; 0040 0041 }