MailImporter::FilterImporterAkonadi

Search for usage in LXR

MailImporter::FilterImporterAkonadi Class Reference

#include <filterimporterakonadi.h>

Inheritance diagram for MailImporter::FilterImporterAkonadi:

Public Member Functions

 FilterImporterAkonadi (MailImporter::FilterInfo *info)
 
void clear () override
 
void clearCountDuplicate () override
 
int countDuplicates () const override
 
bool importMessage (const KArchiveFile *file, const QString &folderPath, int &nbTotal, int &fileDone) override
 
bool importMessage (const QString &folderName, const QString &msgPath, bool duplicateCheck, const MailImporter::MessageStatus &status) override
 
Akonadi::Collection rootCollection () const
 
void setRootCollection (const Akonadi::Collection &collection)
 
QString topLevelFolder () const override
 
- Public Member Functions inherited from MailImporter::FilterImporterBase
 FilterImporterBase (MailImporter::FilterInfo *info)
 

Static Public Member Functions

static Akonadi::MessageStatus convertToAkonadiMessageStatus (const MailImporter::MessageStatus &status)
 

Additional Inherited Members

- Protected Attributes inherited from MailImporter::FilterImporterBase
MailImporter::FilterInfo *const mInfo
 

Detailed Description

The FilterImporterAkonadi class.

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

Definition at line 21 of file filterimporterakonadi.h.

Constructor & Destructor Documentation

◆ FilterImporterAkonadi()

FilterImporterAkonadi::FilterImporterAkonadi ( MailImporter::FilterInfo * info)

Definition at line 25 of file filterimporterakonadi.cpp.

◆ ~FilterImporterAkonadi()

FilterImporterAkonadi::~FilterImporterAkonadi ( )
override

Definition at line 30 of file filterimporterakonadi.cpp.

Member Function Documentation

◆ clear()

void FilterImporterAkonadi::clear ( )
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 34 of file filterimporterakonadi.cpp.

◆ clearCountDuplicate()

void FilterImporterAkonadi::clearCountDuplicate ( )
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 281 of file filterimporterakonadi.cpp.

◆ convertToAkonadiMessageStatus()

Akonadi::MessageStatus FilterImporterAkonadi::convertToAkonadiMessageStatus ( const MailImporter::MessageStatus & status)
static

Definition at line 41 of file filterimporterakonadi.cpp.

◆ countDuplicates()

int FilterImporterAkonadi::countDuplicates ( ) const
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 286 of file filterimporterakonadi.cpp.

◆ importMessage() [1/2]

bool FilterImporterAkonadi::importMessage ( const KArchiveFile * file,
const QString & folderPath,
int & nbTotal,
int & fileDone )
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 291 of file filterimporterakonadi.cpp.

◆ importMessage() [2/2]

bool FilterImporterAkonadi::importMessage ( const QString & folderName,
const QString & msgPath,
bool duplicateCheck,
const MailImporter::MessageStatus & status )
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 74 of file filterimporterakonadi.cpp.

◆ rootCollection()

Akonadi::Collection FilterImporterAkonadi::rootCollection ( ) const

Definition at line 59 of file filterimporterakonadi.cpp.

◆ setRootCollection()

void FilterImporterAkonadi::setRootCollection ( const Akonadi::Collection & collection)

Definition at line 64 of file filterimporterakonadi.cpp.

◆ topLevelFolder()

QString FilterImporterAkonadi::topLevelFolder ( ) const
overridevirtual

Reimplemented from MailImporter::FilterImporterBase.

Definition at line 69 of file filterimporterakonadi.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 Dec 6 2024 12:08:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.