Akonadi Mime
removeduplicatesjob.cpp
2 SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, <[email protected]>
30 qCDebug(AKONADIMIME_LOG) << "Processing collection" << collection.name() << "(" << collection.id() << ")";
83 bodyHashes.insert(mainId, qHash(items.value(mainId).payload<KMime::Message::Ptr>()->encodedContent()));
156 RemoveDuplicatesJob::RemoveDuplicatesJob(const Akonadi::Collection::List &folders, QObject *parent)
QMap::const_iterator constBegin() const const
Job that finds and removes duplicate messages in given collection.
Definition: removeduplicatesjob.h:30
bool contains(const Key &key) const const
void result(KJob *job)
const T value(const Key &key, const T &defaultValue) const const
RemoveDuplicatesJob(const Akonadi::Collection &folder, QObject *parent=nullptr)
Creates a new job that will remove duplicates in folder.
Definition: removeduplicatesjob.cpp:148
Id id() const
bool hasPayload() const
QMap::iterator insert(const Key &key, const T &value)
int size() const const
QString i18n(const char *text, const TYPE &arg...)
QMap::const_iterator constEnd() const const
void description(KJob *job, const QString &title, const QPair< QString, QString > &field1=QPair< QString, QString >(), const QPair< QString, QString > &field2=QPair< QString, QString >())
QString errorText() const
const T & at(int i) const const
KCALENDARCORE_EXPORT uint qHash(const KCalendarCore::Period &key)
void emitResult()
int error() const
T payload() const
QString message
const QList< QKeySequence > & end()
T value(int i) const const
QString name() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:51:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:51:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.