Commit 39e0efc7 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile with new api

parent f62d1b55
......@@ -58,7 +58,7 @@ find_package(KF5AkonadiNotes ${AKONADINOTES_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5XmlGui ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Declarative ${KF5_VERSION} CONFIG REQUIRED)
set(MAILCOMMON_LIB_VERSION "5.6.40")
set(MAILCOMMON_LIB_VERSION "5.6.43")
set(GRAVATAR_LIB_VERSION "5.6.40")
set(PIMCOMMON_LIB_VERSION "5.6.40")
set(GRANTLEETHEME_LIB_VERSION "5.6.40")
......
......@@ -181,8 +181,8 @@ void AntiSpamWizard::accept()
pipeFilterPattern->append(SearchRule::createInstance("<size>",
SearchRule::FuncIsGreaterOrEqual, QStringLiteral("0")));
pipeFilter->setApplyOnOutbound(false);
pipeFilter->setApplyOnInbound();
pipeFilter->setApplyOnExplicit();
pipeFilter->setApplyOnInbound(true);
pipeFilter->setApplyOnExplicit(true);
pipeFilter->setStopProcessingHere(false);
pipeFilter->setConfigureShortcut(false);
......@@ -225,8 +225,8 @@ void AntiSpamWizard::accept()
}
}
virusFilter->setApplyOnOutbound(false);
virusFilter->setApplyOnInbound();
virusFilter->setApplyOnExplicit();
virusFilter->setApplyOnInbound(true);
virusFilter->setApplyOnExplicit(true);
virusFilter->setStopProcessingHere(true);
virusFilter->setConfigureShortcut(false);
......@@ -263,8 +263,8 @@ void AntiSpamWizard::accept()
pipeFilterPattern->append(SearchRule::createInstance("<size>",
SearchRule::FuncIsLessOrEqual, QStringLiteral("256000")));
pipeFilter->setApplyOnOutbound(false);
pipeFilter->setApplyOnInbound();
pipeFilter->setApplyOnExplicit();
pipeFilter->setApplyOnInbound(true);
pipeFilter->setApplyOnExplicit(true);
pipeFilter->setStopProcessingHere(false);
pipeFilter->setConfigureShortcut(false);
......@@ -315,8 +315,8 @@ void AntiSpamWizard::accept()
}
}
spamFilter->setApplyOnOutbound(false);
spamFilter->setApplyOnInbound();
spamFilter->setApplyOnExplicit();
spamFilter->setApplyOnInbound(true);
spamFilter->setApplyOnExplicit(true);
spamFilter->setStopProcessingHere(true);
spamFilter->setConfigureShortcut(false);
filterList.append(spamFilter);
......@@ -357,8 +357,8 @@ void AntiSpamWizard::accept()
}
}
unsureFilter->setApplyOnOutbound(false);
unsureFilter->setApplyOnInbound();
unsureFilter->setApplyOnExplicit();
unsureFilter->setApplyOnInbound(true);
unsureFilter->setApplyOnExplicit(true);
unsureFilter->setStopProcessingHere(true);
unsureFilter->setConfigureShortcut(false);
......
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