File indexing completed on 2025-01-05 04:55:44

0001 /*
0002     models/keylist.h
0003 
0004     This file is part of libkleopatra, the KDE keymanagement library
0005     SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
0006     SPDX-FileCopyrightText: 2021 g10 Code GmbH
0007     SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
0008 
0009     SPDX-License-Identifier: GPL-2.0-or-later
0010 */
0011 
0012 #pragma once
0013 
0014 namespace Kleo
0015 {
0016 namespace KeyList
0017 {
0018 // clang-format off
0019 static const int FingerprintRole = 0xF1;
0020 static const int KeyRole         = 0xF2;
0021 static const int GroupRole       = 0xF3;
0022 static const int UserIDRole      = 0xF4;
0023 // clang-format on
0024 
0025 enum Columns {
0026     PrettyName,
0027     PrettyEMail,
0028     ValidFrom,
0029     ValidUntil,
0030     TechnicalDetails,
0031     ShortKeyID,
0032     KeyID,
0033     Fingerprint,
0034     Issuer,
0035     SerialNumber,
0036     OwnerTrust,
0037     Origin,
0038     LastUpdate,
0039     Validity,
0040     Summary, // Short summary line
0041     Remarks, // Additional remark notations
0042     Algorithm,
0043     Keygrip,
0044     NumColumns,
0045     Icon = PrettyName, // which column shall the icon be displayed in?
0046 };
0047 
0048 enum Options {
0049     AllKeys,
0050     SecretKeysOnly,
0051     IncludeGroups,
0052 };
0053 }
0054 }