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 <mutz@kde.org>
6 
7  SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
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-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.