Page MenuHome GnuPG

expirydialog.h
No OneTemporary

expirydialog.h

/*
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

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

Event Timeline