kmail

partmetadata.h
1/*
2 partmetadata.h
3
4 KMail, the KDE mail client.
5 Copyright (c) 2002-2003 Karl-Heinz Zimmer <khz@kde.org>
6 Copyright (c) 2003 Marc Mutz <mutz@kde.org>
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License,
10 version 2.0, as published by the Free Software Foundation.
11 You should have received a copy of the GNU General Public License
12 along with this program; if not, write to the Free Software Foundation,
13 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
14*/
15
16
17#ifndef _KMAIL_PARTMETADATA_H_
18#define _KMAIL_PARTMETADATA_H_
19
20#include <gpgmepp/verificationresult.h>
21#include <gpgmepp/context.h>
22
23#include <kpgp.h>
24#include <tqstring.h>
25#include <tqcstring.h>
26#include <tqdatetime.h>
27
28namespace KMail {
29
30 class PartMetaData {
31 public:
32 PartMetaData()
33 : sigSummary( GpgME::Signature::None ),
34 isSigned( false ),
35 isGoodSignature( false ),
36 isEncrypted( false ),
37 isDecryptable( false ),
38 inProgress( false ),
39 technicalProblem( false ),
40 isEncapsulatedRfc822Message( false )
41 {
42 }
43 GpgME::Signature::Summary sigSummary;
44 TQString signClass;
45 TQString signer;
46 TQStringList signerMailAddresses;
47 TQCString keyId;
48 Kpgp::Validity keyTrust;
49 TQString status; // to be used for unknown plug-ins
50 int status_code; // to be used for i18n of OpenPGP and S/MIME CryptPlugs
51 TQString errorText;
52 TQDateTime creationTime;
53 TQString decryptionError;
54 TQString auditLog;
55 GpgME::Error auditLogError;
56 bool isSigned : 1;
57 bool isGoodSignature : 1;
58 bool isEncrypted : 1;
59 bool isDecryptable : 1;
60 bool inProgress : 1;
61 bool technicalProblem : 1;
62 bool isEncapsulatedRfc822Message : 1;
63 };
64
65} // namespace KMail
66
67#endif // _KMAIL_PARTMETADATA_H_
68
folderdiaquotatab.h
Definition: aboutdata.cpp:40