Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34158053
expirydialog.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
expirydialog.h
View Options
/*
This file is part of Kleopatra, the KDE keymanager
SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
SPDX-FileCopyrightText: 2021 g10 Code GmbH
SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<QDialog>
#include
<memory.h>
class
QDate
;
class
QShowEvent
;
namespace
GpgME
{
class
Key
;
}
namespace
Kleo
{
namespace
Dialogs
{
class
ExpiryDialog
:
public
QDialog
{
Q_OBJECT
public
:
enum
class
Mode
{
UpdateCertificateWithSubkeys
,
UpdateCertificateWithoutSubkeys
,
UpdateIndividualSubkey
,
};
explicit
ExpiryDialog
(
Mode
mode
,
QWidget
*
parent
=
nullptr
);
~
ExpiryDialog
()
override
;
void
setDateOfExpiry
(
const
QDate
&
date
);
QDate
dateOfExpiry
()
const
;
void
setUpdateExpirationOfAllSubkeys
(
bool
update
);
bool
updateExpirationOfAllSubkeys
()
const
;
void
setPrimaryKey
(
const
GpgME
::
Key
&
key
);
void
accept
()
override
;
protected
:
void
showEvent
(
QShowEvent
*
event
)
override
;
private
:
class
Private
;
std
::
unique_ptr
<
Private
>
d
;
};
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Dec 11, 8:08 AM (7 h, 49 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
89/81/5cfde5903d1a99e59b38c23a61be
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment