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  Q_REQUIRED_RESULT 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 }
QAction * create(StandardGameAction id, const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.