MailImporter::Filter
#include <filters.h>
Public Member Functions | |
Filter (const QString &name, const QString &author, const QString &info=QString()) | |
QString | author () const |
void | clear () |
void | clearCountDuplicate () |
int | countDuplicates () const |
MailImporter::FilterImporterBase * | filterImporter () const |
MailImporter::FilterInfo * | filterInfo () const |
virtual void | import ()=0 |
QString | info () const |
QString | mailDir () const |
QString | name () const |
void | setAuthor (const QString &) |
void | setFilterImporter (MailImporter::FilterImporterBase *importer) |
void | setFilterInfo (MailImporter::FilterInfo *info) |
void | setInfo (const QString &) |
void | setMailDir (const QString &mailDir) |
void | setName (const QString &) |
Protected Member Functions | |
bool | importMessage (const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status=MailImporter::MessageStatus()) |
Static Protected Member Functions | |
static int | countDirectory (const QDir &dir, bool searchHiddenDirectory) |
Detailed Description
Constructor & Destructor Documentation
◆ Filter()
|
explicit |
Definition at line 43 of file filters.cpp.
Member Function Documentation
◆ author()
|
nodiscard |
Definition at line 102 of file filters.cpp.
◆ clear()
void Filter::clear | ( | ) |
Definition at line 50 of file filters.cpp.
◆ clearCountDuplicate()
void Filter::clearCountDuplicate | ( | ) |
Definition at line 92 of file filters.cpp.
◆ countDirectory()
|
staticprotected |
Definition at line 137 of file filters.cpp.
◆ countDuplicates()
|
nodiscard |
Definition at line 97 of file filters.cpp.
◆ filterImporter()
FilterImporterBase * Filter::filterImporter | ( | ) | const |
Definition at line 86 of file filters.cpp.
◆ filterInfo()
MailImporter::FilterInfo * Filter::filterInfo | ( | ) | const |
Definition at line 72 of file filters.cpp.
◆ import()
|
pure virtual |
Implemented in MailImporter::FilterBalsa, MailImporter::FilterEvolution, MailImporter::FilterEvolution_v2, MailImporter::FilterEvolution_v3, MailImporter::FilterKMail_maildir, MailImporter::FilterLNotes, MailImporter::FilterOpera, MailImporter::FilterSylpheed, MailImporter::FilterTheBat, and MailImporter::FilterThunderbird.
◆ importMessage()
|
nodiscardprotected |
Definition at line 132 of file filters.cpp.
◆ info()
|
nodiscard |
Definition at line 112 of file filters.cpp.
◆ mailDir()
|
nodiscard |
Definition at line 61 of file filters.cpp.
◆ setAuthor()
void Filter::setAuthor | ( | const QString & | _author | ) |
Definition at line 117 of file filters.cpp.
◆ setFilterImporter()
void Filter::setFilterImporter | ( | MailImporter::FilterImporterBase * | importer | ) |
Definition at line 81 of file filters.cpp.
◆ setFilterInfo()
void Filter::setFilterInfo | ( | MailImporter::FilterInfo * | info | ) |
Definition at line 66 of file filters.cpp.
◆ setInfo()
void Filter::setInfo | ( | const QString & | _info | ) |
Definition at line 127 of file filters.cpp.
◆ setMailDir()
void Filter::setMailDir | ( | const QString & | mailDir | ) |
Definition at line 56 of file filters.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.