Page MenuHome GnuPG

addsubkeycommand.h
No OneTemporary

addsubkeycommand.h

/*
SPDX-FileCopyrightText: 2023 g10 Code GmbH
SPDX-FileContributor: Tobias Fella <tobias.fella@gnupg.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <commands/command.h>
namespace GpgME
{
class Subkey;
}
namespace Kleo
{
namespace Commands
{
class AddSubkeyCommand : public Command
{
Q_OBJECT
public:
explicit AddSubkeyCommand(QAbstractItemView *view, KeyListController *parent);
explicit AddSubkeyCommand(KeyListController *parent);
explicit AddSubkeyCommand(const GpgME::Key &key);
~AddSubkeyCommand() override;
/* reimp */ static Restrictions restrictions()
{
return OnlyOneKey | MustBeOpenPGP | NeedSecretKey;
}
private:
void doStart() override;
void doCancel() override;
private:
class Private;
inline Private *d_func();
inline const Private *d_func() const;
};
}
}

File Metadata

Mime Type
text/x-c++
Expires
Fri, Feb 6, 8:36 AM (8 h, 37 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/3a/8fe469c254fa5be38de1a685736a

Event Timeline