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{
16static const int ClipboardRole = 0x01FF;
17
18namespace KeyList
19{
20// clang-format off
21static const int FingerprintRole = 0xF1;
22static const int KeyRole = 0xF2;
23static const int GroupRole = 0xF3;
24static const int UserIDRole = 0xF4;
25// clang-format on
26
27enum Columns {
28 PrettyName,
29 PrettyEMail,
30 ValidFrom,
31 ValidUntil,
32 TechnicalDetails,
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 Sat Dec 21 2024 16:56:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.