MailImporter

filterimporterbase.cpp
1/*
2 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "filterimporterbase.h"
8#include <MailImporter/FilterInfo>
9
10using namespace MailImporter;
11
12FilterImporterBase::FilterImporterBase(MailImporter::FilterInfo *info)
13 : mInfo(info)
14{
15}
16
17FilterImporterBase::~FilterImporterBase()
18{
19}
20
21bool FilterImporterBase::importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status)
22{
23 Q_UNUSED(folderName)
24 Q_UNUSED(msgPath)
25 Q_UNUSED(duplicateCheck)
26 Q_UNUSED(status)
27 return false;
28}
29
30bool FilterImporterBase::importMessage(const KArchiveFile *file, const QString &folderPath, int &nbTotal, int &fileDone)
31{
32 Q_UNUSED(file)
33 Q_UNUSED(folderPath)
34 Q_UNUSED(nbTotal)
35 Q_UNUSED(fileDone)
36 return false;
37}
38
39void FilterImporterBase::clear()
40{
41}
42
43void FilterImporterBase::clearCountDuplicate()
44{
45}
46
47int FilterImporterBase::countDuplicates() const
48{
49 return -1;
50}
51
52QString FilterImporterBase::topLevelFolder() const
53{
54 return {};
55}
The FilterInfo class.
Definition filterinfo.h:21
The MessageStatus class.
Q_SCRIPTABLE CaptureState status()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.