MailImporter::FilterTheBat

Search for usage in LXR

MailImporter::FilterTheBat Class Reference

#include <filterthebat.h>

Inheritance diagram for MailImporter::FilterTheBat:

Public Member Functions

 FilterTheBat ()
 
 ~FilterTheBat () 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::FilterImporterBasefilterImporter () const
 
MailImporter::FilterInfofilterInfo () 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 &)
 

Additional Inherited Members

- Protected Member Functions inherited from MailImporter::Filter
bool importMessage (const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status=MailImporter::MessageStatus())
 
- Static Protected Member Functions inherited from MailImporter::Filter
static int countDirectory (const QDir &dir, bool searchHiddenDirectory)
 

Detailed Description

Imports The Bat! mail folder recursively, recreating the folder structure.

Author
Danny Kukawka

Definition at line 21 of file filterthebat.h.

Constructor & Destructor Documentation

◆ FilterTheBat()

FilterTheBat::FilterTheBat ( )

Default constructor.

Definition at line 27 of file filterthebat.cpp.

◆ ~FilterTheBat()

FilterTheBat::~FilterTheBat ( )
overridedefault

Destructor.

Member Function Documentation

◆ import()

void FilterTheBat::import ( )
overridevirtual

Recursive import of The Bat! maildir.

Implements MailImporter::Filter.

Definition at line 45 of file filterthebat.cpp.

◆ importMails()

void FilterTheBat::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 MailFolders

Definition at line 70 of file filterthebat.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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.