Messagelib

richheaderstrategy.cpp
1 /* -*- c++ -*-
2  header/headerstrategy.h
3 
4  This file is part of KMail, the KDE mail client.
5  SPDX-FileCopyrightText: 2003 Marc Mutz <[email protected]>
6 
7  SPDX-FileCopyrightText: 2013-2023 Laurent Montel <[email protected]>
8 
9  SPDX-License-Identifier: GPL-2.0-or-later
10 */
11 
12 #include "richheaderstrategy.h"
13 
14 using namespace MessageViewer;
15 
16 static const char *const richHeaders[] = {"subject",
17  "date",
18  "from",
19  "cc",
20  "bcc",
21  "to",
22  "organization",
23  "organisation",
24  "reply-to",
25  "user-agent",
26  "x-mailer",
27  "x-bugzilla-url",
28  "disposition-notification-to"};
29 static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders;
30 
31 RichHeaderStrategy::RichHeaderStrategy()
32  : HeaderStrategy()
33  , mHeadersToDisplay(stringList(richHeaders, numRichHeaders))
34 {
35 }
36 
37 RichHeaderStrategy::~RichHeaderStrategy() = default;
The HeaderStrategy class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:01:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.