Libkleo

keylist.h
1/*
2 models/keylist.h
3
4 This file is part of libkleopatra, the KDE keymanagement library
5 SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
6 SPDX-FileCopyrightText: 2021 g10 Code GmbH
7 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
8
9 SPDX-License-Identifier: GPL-2.0-or-later
10*/
11
12#pragma once
13
14namespace Kleo
15{
16namespace KeyList
17{
18// clang-format off
19static const int FingerprintRole = 0xF1;
20static const int KeyRole = 0xF2;
21static const int GroupRole = 0xF3;
22static const int UserIDRole = 0xF4;
23static const int ClipboardRole = 0xF5;
24// clang-format on
25
26enum Columns {
27 PrettyName,
28 PrettyEMail,
29 ValidFrom,
30 ValidUntil,
31 TechnicalDetails,
32 ShortKeyID,
33 KeyID,
34 Fingerprint,
35 Issuer,
36 SerialNumber,
37 OwnerTrust,
38 Origin,
39 LastUpdate,
40 Validity,
41 Summary, // Short summary line
42 Remarks, // Additional remark notations
43 Algorithm,
44 Keygrip,
45 NumColumns,
46 Icon = PrettyName, // which column shall the icon be displayed in?
47};
48
49enum Options {
50 AllKeys,
51 SecretKeysOnly,
52 IncludeGroups,
53};
54}
55}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:50:31 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.