summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-09 07:20:15 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-09 07:20:15 (GMT)
commit05f0147d9c53be2700eb91fb6f8cd6deb5633798 (patch)
tree3c576fb9618bc25491e3a293385cbe1967a71126
parent22706fc4824f72eb0e7d08a8c1a1ca4b8ab7f843 (diff)
Add help info about imapflags
-rw-r--r--src/ksieveui/editor/sieveeditorutil.cpp4
-rw-r--r--src/ksieveui/editor/sieveeditorutil.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ksieveui/editor/sieveeditorutil.cpp b/src/ksieveui/editor/sieveeditorutil.cpp
index c81dfbb..9da4208 100644
--- a/src/ksieveui/editor/sieveeditorutil.cpp
+++ b/src/ksieveui/editor/sieveeditorutil.cpp
@@ -124,6 +124,8 @@ QUrl KSieveUi::SieveEditorUtil::helpUrl(KSieveUi::SieveEditorUtil::HelpVariableN
return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-2"));
case SubAddressExtension:
return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5233"));
+ case ImapFlagsExtension:
+ return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232"));
case UnknownHelp:
break;
}
@@ -222,6 +224,8 @@ KSieveUi::SieveEditorUtil::HelpVariableName KSieveUi::SieveEditorUtil::strToVari
return MBoxMetaDataExtension;
} else if (str == QLatin1String("subaddress")) {
return SubAddressExtension;
+ } else if (str == QLatin1String("imapflags")) {
+ return ImapFlagsExtension;
}
//TODO
diff --git a/src/ksieveui/editor/sieveeditorutil.h b/src/ksieveui/editor/sieveeditorutil.h
index 8d8d090..3cd3313 100644
--- a/src/ksieveui/editor/sieveeditorutil.h
+++ b/src/ksieveui/editor/sieveeditorutil.h
@@ -78,7 +78,8 @@ enum HelpVariableName {
CopyExtension,
MBoxMetaDataExtension,
SubAddressExtension,
- ERejectAction
+ ERejectAction,
+ ImapFlagsExtension
};
KSieveUi::SieveEditorUtil::HelpVariableName strToVariableName(const QString &str);