Commit 0f659c98 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Kolab: fix build

parent a654faad
......@@ -39,7 +39,7 @@ KolabMessageHelper::~KolabMessageHelper()
Akonadi::Item KolabMessageHelper::createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
const QMap<QByteArray, QVariant> &attrs,
const QList<QByteArray> &flags,
const KIMAP::FetchJob::FetchScope &scope,
bool &ok) const
......
......@@ -31,7 +31,7 @@ public:
Akonadi::Item createItemFromMessage(const KMime::Message::Ptr &message,
const qint64 uid,
const qint64 size,
const QList<KIMAP::MessageAttribute> &attrs,
const QMap<QByteArray, QVariant> &attrs,
const QList<QByteArray> &flags,
const KIMAP::FetchJob::FetchScope &scope,
bool &ok) const override;
......
......@@ -79,7 +79,7 @@ void KolabRetrieveTagTask::onFinalSelectDone(KJob *job)
fetch->start();
}
void KolabRetrieveTagTask::onHeadersReceived(const QMap<qint64, KIMAP::Message> &messages)
void KolabRetrieveTagTask::onMessagesAvailable(const QMap<qint64, KIMAP::Message> &messages)
{
KIMAP::FetchJob *fetch = static_cast<KIMAP::FetchJob *>(sender());
Q_ASSERT(fetch);
......
......@@ -97,7 +97,7 @@ void UpdateMessageJob::onMessagesAvailable(const QMap<qint64, KIMAP::Message> &m
for (auto it = messages.cbegin(), end = messages.cend(); it != end; ++it) {
// const KMime::Message::Ptr msg = messages[number];
if (!it->flags.contains(ImapFlags::Deleted)) {
mFoundUids = it->uid;
mFoundUids << it->uid;
}
}
}
......
......@@ -53,7 +53,7 @@ private Q_SLOTS:
void onHeadersFetchDone(KJob *job);
void onSelectDone(KJob *job);
void onSearchDone(KJob *job);
void onConflictingMessagesReceived(const QMap<qint64, KIMAP::Message> &message_;
void onConflictingMessagesReceived(const QMap<qint64, KIMAP::Message> &message);
void onConflictingMessageFetchDone(KJob *job);
void onReplaceDone(KJob *job);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment