Commit ae27fbbe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more help

parent 39d60014
......@@ -60,6 +60,12 @@ QUrl KSieveUi::SieveEditorUtil::helpUrl(KSieveUi::SieveEditorUtil::HelpVariableN
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3685#page-3"));
case TrueCondition:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-26"));
case NotCondition:
return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-26"));
case AnyOf:
return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-24"));
case Allof:
return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-23"));
case VirustestCondition:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3685#page-4"));
case AbstracteditheaderAction:
......@@ -164,6 +170,12 @@ KSieveUi::SieveEditorUtil::HelpVariableName KSieveUi::SieveEditorUtil::strToVari
return SpamtestCondition;
} else if (str == QLatin1String("true")) {
return TrueCondition;
} else if (str == QLatin1String("not")) {
return NotCondition;
} else if (str == QLatin1String("anyof")) {
return AnyOf;
} else if (str == QLatin1String("allof")) {
return Allof;
} else if (str == QLatin1String("virustest")) {
return VirustestCondition;
} else if (str == QLatin1String("break")) {
......
......@@ -48,6 +48,9 @@ enum HelpVariableName {
SpamtestCondition,
TrueCondition,
VirustestCondition,
NotCondition,
AnyOf,
Allof,
AbstracteditheaderAction,
AddflagsAction,
AddheaderAction,
......
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