MailImporter::FilterSylpheed

Search for usage in LXR

MailImporter::FilterSylpheed Class Reference

#include <filtersylpheed.h>

Inheritance diagram for MailImporter::FilterSylpheed:

Public Member Functions

 FilterSylpheed ()
 
 ~FilterSylpheed () override
 
virtual QString defaultInstallFolder () const
 
virtual bool excludeFile (const QString &file)
 
void import () override
 
virtual void importMails (const QString &maildir)
 
virtual QString localMailDirPath ()
 
virtual QString markFile () const
 
- 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 &)
 

Static Public Member Functions

static QString defaultSettingsPath ()
 
static QString isMailerFound ()
 

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 Sylpheed mail folder with maildir format recursively, recreating the folder structure.

Author
Danny Kukawka

Definition at line 22 of file filtersylpheed.h.

Constructor & Destructor Documentation

◆ FilterSylpheed()

FilterSylpheed::FilterSylpheed ( )

Default constructor.

Definition at line 27 of file filtersylpheed.cpp.

◆ ~FilterSylpheed()

FilterSylpheed::~FilterSylpheed ( )
overridedefault

Destructor.

Member Function Documentation

◆ defaultInstallFolder()

QString FilterSylpheed::defaultInstallFolder ( ) const
virtual

Definition at line 183 of file filtersylpheed.cpp.

◆ defaultSettingsPath()

QString FilterSylpheed::defaultSettingsPath ( )
staticnodiscard

Definition at line 52 of file filtersylpheed.cpp.

◆ excludeFile()

bool FilterSylpheed::excludeFile ( const QString & file)
nodiscardvirtual

Definition at line 174 of file filtersylpheed.cpp.

◆ import()

void FilterSylpheed::import ( )
overridevirtual

Recursive import of Sylpheed maildir.

Implements MailImporter::Filter.

Definition at line 91 of file filtersylpheed.cpp.

◆ importMails()

void FilterSylpheed::importMails ( const QString & maildir)
virtual

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 119 of file filtersylpheed.cpp.

◆ isMailerFound()

QString FilterSylpheed::isMailerFound ( )
staticnodiscard

Definition at line 43 of file filtersylpheed.cpp.

◆ localMailDirPath()

QString FilterSylpheed::localMailDirPath ( )
virtual

Definition at line 57 of file filtersylpheed.cpp.

◆ markFile()

QString FilterSylpheed::markFile ( ) const
virtual

Definition at line 188 of file filtersylpheed.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 Fri Nov 22 2024 12:08:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.