Libkleo
13#include "kleo_export.h"
15#include <Libkleo/Predicates>
31class KLEO_EXPORT KeyGroup
35 typedef std::set<GpgME::Key, _detail::ByFingerprint<std::less>> Keys;
47 explicit KeyGroup(
const Id &
id,
const QString &name,
const std::vector<GpgME::Key> &keys, Source source);
49 KeyGroup(
const KeyGroup &other);
50 KeyGroup &operator=(
const KeyGroup &other);
52 KeyGroup(KeyGroup &&other);
53 KeyGroup &operator=(KeyGroup &&other);
58 Source source()
const;
60 void setName(
const QString &name);
63 void setKeys(
const Keys &keys);
64 void setKeys(
const std::vector<GpgME::Key> &keys);
65 const Keys &keys()
const;
67 void setIsImmutable(
bool isImmutable);
68 bool isImmutable()
const;
70 bool insert(
const GpgME::Key &key);
71 bool erase(
const GpgME::Key &key);
75 std::unique_ptr<Private> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:12 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.