mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
![Sune Vuorela](/assets/img/avatar_default.png)
If the active backend is gnupg (e.g. if only compiled-in backend, or later when configurabitily thru okular has been merged), we can offer to view and edit certificates with Kleopatra (KDE's certificate manager)
38 lines
737 B
C++
38 lines
737 B
C++
/*
|
|
SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan <chinmoyrp65@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef OKULAR_SIGNATUREPROPERTIESDIALOG_H
|
|
#define OKULAR_SIGNATUREPROPERTIESDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include <memory>
|
|
|
|
namespace Okular
|
|
{
|
|
class Document;
|
|
class FormFieldSignature;
|
|
}
|
|
|
|
class SignaturePropertiesDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SignaturePropertiesDialog(Okular::Document *doc, const Okular::FormFieldSignature *form, QWidget *parent = nullptr);
|
|
|
|
public Q_SLOTS:
|
|
void viewSignedVersion();
|
|
void viewCertificateProperties();
|
|
|
|
private:
|
|
Okular::Document *m_doc;
|
|
const Okular::FormFieldSignature *m_signatureForm;
|
|
QString m_kleopatraPath;
|
|
};
|
|
|
|
#endif
|