kmail
folderarchivemanager.cpp
Go to the documentation of this file.
59 KConfigGroup group = config.group(FolderArchive::FolderArchiveUtil::groupConfigPattern() + info->instanceName());
66 FolderArchiveAccountInfo *FolderArchiveManager::infoFromInstanceName(const QString &instanceName) const
97 Akonadi::CollectionFetchJob* jobCol = new Akonadi::CollectionFetchJob( Akonadi::Collection(items.first().parentCollection().id()), Akonadi::CollectionFetchJob::Base, this );
122 void FolderArchiveManager::setArchiveItems(const QList<Akonadi::Item> &items, const QString &instanceName)
151 KConfigGroup group = config.group(FolderArchive::FolderArchiveUtil::groupConfigPattern() + instanceName);
164 const QStringList accountList = config.groupList().filter( QRegExp( FolderArchive::FolderArchiveUtil::groupConfigPattern() ) );
178 const QPixmap pixmap = KIcon( QLatin1String("kmail") ).pixmap( KIconLoader::SizeSmall, KIconLoader::SizeSmall );
191 const QPixmap pixmap = KIcon( QLatin1String("kmail") ).pixmap( KIconLoader::SizeSmall, KIconLoader::SizeSmall );
void clear()
~FolderArchiveManager()
Definition: folderarchivemanager.cpp:44
void moveFailed(const QString &msg)
Definition: folderarchivemanager.cpp:189
void enqueue(const T &t)
T dequeue()
QString instanceName() const
Definition: folderarchiveaccountinfo.cpp:68
void setArchiveItems(const QList< Akonadi::Item > &items, const QString &instanceName)
Definition: folderarchivemanager.cpp:122
void append(const T &value)
void setArchiveTopLevel(Akonadi::Collection::Id id)
Definition: folderarchiveaccountinfo.cpp:58
FolderArchiveCache * folderArchiveCache() const
Definition: folderarchivemanager.cpp:213
int removeAll(const T &value)
void deleteLater()
void writeConfig(KConfigGroup &config)
Definition: folderarchiveaccountinfo.cpp:107
T & first()
Akonadi::Collection::Id archiveTopLevel() const
Definition: folderarchiveaccountinfo.cpp:63
FolderArchiveManager(QObject *parent=0)
Definition: folderarchivemanager.cpp:36
QString configFileName()
Definition: folderarchiveutil.cpp:30
void clearCacheWithContainsCollection(Akonadi::Collection::Id id)
Definition: folderarchivecache.cpp:36
QString groupConfigPattern()
Definition: folderarchiveutil.cpp:25
void setArchiveItem(qlonglong itemId)
Definition: folderarchivemanager.cpp:76
QStringList filter(const QString &str, Qt::CaseSensitivity cs) const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: folderarchivecache.h:40
void slotCollectionRemoved(const Akonadi::Collection &collection)
Definition: folderarchivemanager.cpp:52
void slotInstanceRemoved(const Akonadi::AgentInstance &instance)
Definition: folderarchivemanager.cpp:136
Definition: folderarchiveagentjob.h:27
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.