Mailcommon

filterimporterbalsa.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 "filterimporterabstract.h"
10
11class QFile;
12class KConfigGroup;
13class KConfig;
14
15namespace MailCommon
16{
17class MailFilter;
18
19class FilterImporterBalsa : public FilterImporterAbstract
20{
21public:
22 explicit FilterImporterBalsa(QFile *file);
23 FilterImporterBalsa();
24 ~FilterImporterBalsa();
25 [[nodiscard]] static QString defaultFiltersSettingsPath();
26 void readConfig(KConfig *config);
27
28private:
29 void parseFilter(const KConfigGroup &grp);
30 void parseCondition(const QString &condition, MailCommon::MailFilter *filter);
31 void parseAction(int actionType, const QString &action, MailCommon::MailFilter *filter);
32};
33}
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 Fri Dec 6 2024 12:02:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.