Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35337358
addsubkeycommand.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
877 B
Subscribers
None
addsubkeycommand.h
View Options
/*
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
Details
Attached
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
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment