MailImporter::FilterThunderbird
#include <filterthunderbird.h>
Public Member Functions | |
FilterThunderbird () | |
~FilterThunderbird () override | |
void | import () override |
void | importMails (const QString &maildir) |
Public Member Functions inherited from MailImporter::Filter | |
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 |
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 &) |
Static Public Member Functions | |
static QString | defaultProfile (const QString &defaultSettingPath, QWidget *parent=nullptr) |
static QString | defaultSettingsPath () |
static QString | isMailerFound () |
static QMap< QString, QString > | listProfile (QString ¤tProfile, const QString &defaultSettingPath) |
Protected Member Functions | |
virtual QString | defaultInstallFolder () const |
virtual QString | settingsPath () |
Protected Member Functions inherited from MailImporter::Filter | |
bool | importMessage (const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status=MailImporter::MessageStatus()) |
Additional Inherited Members | |
Static Protected Member Functions inherited from MailImporter::Filter | |
static int | countDirectory (const QDir &dir, bool searchHiddenDirectory) |
Detailed Description
Imports Thunderbird mail folder recursively, keeping the folder structure.
Definition at line 20 of file filterthunderbird.h.
Constructor & Destructor Documentation
◆ FilterThunderbird()
FilterThunderbird::FilterThunderbird | ( | ) |
Default constructor.
Definition at line 23 of file filterthunderbird.cpp.
◆ ~FilterThunderbird()
|
override |
Destructor.
Definition at line 37 of file filterthunderbird.cpp.
Member Function Documentation
◆ defaultInstallFolder()
|
nodiscardprotectedvirtual |
Definition at line 124 of file filterthunderbird.cpp.
◆ defaultProfile()
|
staticnodiscard |
Definition at line 71 of file filterthunderbird.cpp.
◆ defaultSettingsPath()
|
staticnodiscard |
Definition at line 66 of file filterthunderbird.cpp.
◆ import()
|
overridevirtual |
We ask the user to choose Thunderbird's root directory. This should be usually ~/.thunderbird/xxxx.default/Mail/Local Folders/
Implements MailImporter::Filter.
Definition at line 134 of file filterthunderbird.cpp.
◆ importMails()
void FilterThunderbird::importMails | ( | const QString & | maildir | ) |
If the user only select homedir no import needed because there should be no files and we surely import wrong files.
Recursive import of the MailArchives
import last but not least all archives from the root-dir
Definition at line 166 of file filterthunderbird.cpp.
◆ isMailerFound()
|
staticnodiscard |
Definition at line 41 of file filterthunderbird.cpp.
◆ listProfile()
|
staticnodiscard |
Definition at line 92 of file filterthunderbird.cpp.
◆ settingsPath()
|
nodiscardprotectedvirtual |
Definition at line 129 of file filterthunderbird.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.