MailImporter::FilterPMail
#include <filterpmail.h>
Public Member Functions | |
void | import () override |
void | importMails (const QString &chosenDir) |
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 &) |
Protected Member Functions | |
QString | getFolderName (const QString &ID) |
void | importMailFolder (const QString &file) |
void | importNewMessage (const QString &file) |
void | importUnixMailFolder (const QString &file) |
bool | parseFolderMatrix (const QString &chosenDir) |
void | processFiles (const QString &mask, void(FilterPMail::*workFunc)(const QString &)) |
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
The FilterPMail class.
Definition at line 20 of file filterpmail.h.
Constructor & Destructor Documentation
◆ FilterPMail()
FilterPMail::FilterPMail | ( | ) |
Definition at line 21 of file filterpmail.cpp.
◆ ~FilterPMail()
|
override |
Definition at line 31 of file filterpmail.cpp.
Member Function Documentation
◆ getFolderName()
this function parse the folder structure
get the foldername for a given file ID from folderMatrix
Definition at line 313 of file filterpmail.cpp.
◆ import()
|
overridevirtual |
Implements MailImporter::Filter.
Definition at line 35 of file filterpmail.cpp.
◆ importMailFolder()
|
protected |
this function imports one mail folder file (*.PMM)
Definition at line 120 of file filterpmail.cpp.
◆ importMails()
void FilterPMail::importMails | ( | const QString & | chosenDir | ) |
Definition at line 42 of file filterpmail.cpp.
◆ importNewMessage()
|
protected |
this function imports one *.CNM message
Definition at line 109 of file filterpmail.cpp.
◆ importUnixMailFolder()
|
protected |
imports a 'unix' format mail folder (*.MBX)
Get the folder name
Read in the mbox
Definition at line 204 of file filterpmail.cpp.
◆ parseFolderMatrix()
|
protected |
this function recreate the folder structure
Parse the m_filterInfoormation about folderstructure to folderMatrix.
Definition at line 275 of file filterpmail.cpp.
◆ processFiles()
|
protected |
this looks for all files with the filemask 'mask' and calls the 'workFunc' on each of them
Definition at line 78 of file filterpmail.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.