kmail
folderarchiveagentjob.cpp
Go to the documentation of this file.
32 FolderArchiveAgentJob::FolderArchiveAgentJob(FolderArchiveManager *manager, FolderArchiveAccountInfo *info, const QList<Akonadi::Item> &lstItem, QObject *parent)
47 sendError(i18n("Archive folder not defined. Please verify settings for account", mInfo->instanceName() ));
56 Akonadi::CollectionFetchJob *fetchCollection = new Akonadi::CollectionFetchJob( Akonadi::Collection(mInfo->archiveTopLevel()), Akonadi::CollectionFetchJob::Base );
61 Akonadi::CollectionFetchJob *fetchCollection = new Akonadi::CollectionFetchJob( Akonadi::Collection(id), Akonadi::CollectionFetchJob::Base );
64 FolderArchiveAgentCheckCollection *checkCol = new FolderArchiveAgentCheckCollection(mInfo, this);
65 connect(checkCol, SIGNAL(collectionIdFound(Akonadi::Collection)), SLOT(slotCollectionIdFound(Akonadi::Collection)));
83 Akonadi::CollectionFetchJob *fetchCollectionJob = static_cast<Akonadi::CollectionFetchJob*>(job);
101 connect( command, SIGNAL(moveDone(KMMoveCommand*)), this, SLOT(slotMoveMessages(KMMoveCommand*)));
FolderArchiveType folderArchiveType() const
Definition: folderarchiveaccountinfo.cpp:53
void moveFailed(const QString &msg)
Definition: folderarchivemanager.cpp:189
~FolderArchiveAgentJob()
Definition: folderarchiveagentjob.cpp:40
Definition: kmcommands.h:523
QString instanceName() const
Definition: folderarchiveaccountinfo.cpp:68
void addToCache(const QString &resourceName, Akonadi::Collection::Id id)
Definition: folderarchivecache.cpp:84
Akonadi::Collection::Id collectionId(FolderArchiveAccountInfo *info)
Definition: folderarchivecache.cpp:48
FolderArchiveCache * folderArchiveCache() const
Definition: folderarchivemanager.cpp:213
bool isEmpty() const
Akonadi::Collection::Id archiveTopLevel() const
Definition: folderarchiveaccountinfo.cpp:63
Definition: folderarchivemanager.h:33
void start()
Definition: folderarchiveagentcheckcollection.cpp:39
FolderArchiveAgentJob(FolderArchiveManager *manager, FolderArchiveAccountInfo *info, const QList< Akonadi::Item > &lstItem, QObject *parent=0)
Definition: folderarchiveagentjob.cpp:32
Definition: kmcommands.h:53
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.