Mailcommon

filterimporterevolution.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "filter/filterimporter/filterimporterabstract.h"
10
11#include <QDomElement>
12
13class QFile;
14
15namespace MailCommon
16{
17class MailFilter;
18
19class FilterImporterEvolution : public FilterImporterAbstract
20{
21public:
22 explicit FilterImporterEvolution(QFile *file);
23 ~FilterImporterEvolution();
24 [[nodiscard]] static QString defaultFiltersSettingsPath();
25
26private:
27 enum parseType {
28 PartType = 0,
29 ActionType = 1,
30 };
31 void parseFilters(const QDomElement &e);
32 void parsePartAction(const QDomElement &ruleFilter, MailCommon::MailFilter *filter, MailCommon::FilterImporterEvolution::parseType type);
33};
34}
The MailFilter class.
Definition mailfilter.h:29
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.