16#include "kleo_export.h"
18#include <Libkleo/Enum>
22#include <gpgme++/key.h>
34class KLEO_EXPORT KeyApprovalDialog :
public QDialog
40 : pref(UnknownPreference)
43 Item(
const QString &a,
const std::vector<GpgME::Key> &k, EncryptionPreference p = UnknownPreference)
50 std::vector<GpgME::Key> keys;
51 EncryptionPreference pref;
54 KeyApprovalDialog(
const std::vector<Item> &recipients,
const std::vector<GpgME::Key> &sender,
QWidget *parent =
nullptr);
55 ~KeyApprovalDialog()
override;
57 std::vector<Item> items()
const;
58 std::vector<GpgME::Key> senderKeys()
const;
60 bool preferencesChanged()
const;
63 void slotPrefsChanged();
66 class KeyApprovalDialogPrivate;
67 std::unique_ptr<KeyApprovalDialogPrivate>
const d;
PostalAddress address(const QVariant &location)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:14 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.