Messagelib

mailman.h
1 /*
2  SPDX-FileCopyrightText: 2016 Sandro KnauƟ <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "interfaces/bodypart.h"
10 #include "interfaces/bodypartformatter.h"
11 
12 namespace MimeTreeParser
13 {
14 class MailmanBodyPartFormatter : public Interface::BodyPartFormatter
15 {
16  static const MailmanBodyPartFormatter *self;
17 
18 public:
19  MessagePartPtr process(Interface::BodyPart &part) const override;
20  static const Interface::BodyPartFormatter *create();
21 
22 private:
23  Q_REQUIRED_RESULT bool isMailmanMessage(KMime::Content *curNode) const;
24 };
25 }
26 
QAction * create(StandardAction id, const QObject *recvr, Func slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.