MailImporter::Filter

Search for usage in LXR

#include <filters.h>

Inheritance diagram for MailImporter::Filter:

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

The Filter class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 28 of file filters.h.

Constructor & Destructor Documentation

◆ Filter()

Filter::Filter ( const QString & name,
const QString & author,
const QString & info = QString() )
explicit

Definition at line 43 of file filters.cpp.

Member Function Documentation

◆ author()

QString Filter::author ( ) const
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()

int Filter::countDirectory ( const QDir & dir,
bool searchHiddenDirectory )
staticprotected

Definition at line 137 of file filters.cpp.

◆ countDuplicates()

int Filter::countDuplicates ( ) const
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()

◆ importMessage()

bool Filter::importMessage ( const QString & folderName,
const QString & msgPath,
bool duplicateCheck,
const MessageStatus & status = MailImporter::MessageStatus() )
nodiscardprotected

Definition at line 132 of file filters.cpp.

◆ info()

QString Filter::info ( ) const
nodiscard

Definition at line 112 of file filters.cpp.

◆ mailDir()

QString Filter::mailDir ( ) const
nodiscard

Definition at line 61 of file filters.cpp.

◆ name()

QString Filter::name ( ) const
nodiscard

Definition at line 107 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.

◆ setName()

void Filter::setName ( const QString & _name)

Definition at line 122 of file filters.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 Oct 11 2024 12:13:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.