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;
23// clang-format on
24
25enum Columns {
26 PrettyName,
27 PrettyEMail,
28 ValidFrom,
29 ValidUntil,
30 TechnicalDetails,
31 ShortKeyID,
32 KeyID,
33 Fingerprint,
34 Issuer,
35 SerialNumber,
36 OwnerTrust,
37 Origin,
38 LastUpdate,
39 Validity,
40 Summary, // Short summary line
41 Remarks, // Additional remark notations
42 Algorithm,
43 Keygrip,
44 NumColumns,
45 Icon = PrettyName, // which column shall the icon be displayed in?
46};
47
48enum Options {
49 AllKeys,
50 SecretKeysOnly,
51 IncludeGroups,
52};
53}
54}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.