summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-09 21:29:21 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-09 21:29:21 (GMT)
commit0a5b1da3e5556da49de13c6d9f12d8129bd5b797 (patch)
treee0eacb19752d2810485ae6f1e4350ea360f3beaa
parent05f0147d9c53be2700eb91fb6f8cd6deb5633798 (diff)
Add more help page
-rw-r--r--src/ksieveui/editor/sieveeditorutil.cpp6
-rw-r--r--src/ksieveui/editor/sieveeditorutil.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/ksieveui/editor/sieveeditorutil.cpp b/src/ksieveui/editor/sieveeditorutil.cpp
index 9da4208..e47ca8c 100644
--- a/src/ksieveui/editor/sieveeditorutil.cpp
+++ b/src/ksieveui/editor/sieveeditorutil.cpp
@@ -73,13 +73,13 @@ QUrl KSieveUi::SieveEditorUtil::helpUrl(KSieveUi::SieveEditorUtil::HelpVariableN
case AddflagsAction:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5232#page-5"));
case AddheaderAction:
+ case DeleteheaderAction:
+ case EditHeaderExtension:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5293"));
case BreakAction:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-3"));
case ConvertAction:
return QUrl(); //TODO
- case DeleteheaderAction:
- return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5293"));
case DiscardAction:
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-22"));
case EncloseAction:
@@ -226,6 +226,8 @@ KSieveUi::SieveEditorUtil::HelpVariableName KSieveUi::SieveEditorUtil::strToVari
return SubAddressExtension;
} else if (str == QLatin1String("imapflags")) {
return ImapFlagsExtension;
+ } else if (str == QLatin1String("editheader")) {
+ return EditHeaderExtension;
}
//TODO
diff --git a/src/ksieveui/editor/sieveeditorutil.h b/src/ksieveui/editor/sieveeditorutil.h
index 3cd3313..acb175e 100644
--- a/src/ksieveui/editor/sieveeditorutil.h
+++ b/src/ksieveui/editor/sieveeditorutil.h
@@ -79,7 +79,8 @@ enum HelpVariableName {
MBoxMetaDataExtension,
SubAddressExtension,
ERejectAction,
- ImapFlagsExtension
+ ImapFlagsExtension,
+ EditHeaderExtension
};
KSieveUi::SieveEditorUtil::HelpVariableName strToVariableName(const QString &str);