File indexing completed on 2024-12-29 04:54:48
0001 /* 0002 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only 0005 */ 0006 0007 #pragma once 0008 0009 #include <QUrl> 0010 0011 namespace KSieveUi 0012 { 0013 namespace SieveEditorUtil 0014 { 0015 enum HelpVariableName { 0016 UnknownHelp, 0017 AddressCondition, 0018 BodyCondition, 0019 ConvertCondition, 0020 CurrentdateCondition, 0021 DateCondition, 0022 EnvelopeCondition, 0023 EnvironmentCondition, 0024 ExistsCondition, 0025 FalseCondition, 0026 HasflagCondition, 0027 HeaderCondition, 0028 IhaveCondition, 0029 MailboxexistsCondition, 0030 MetadataexistsCondition, 0031 MetadataCondition, 0032 ServermetadataexistsCondition, 0033 ServermetadataCondition, 0034 SizeCondition, 0035 SpamtestCondition, 0036 TrueCondition, 0037 VirustestCondition, 0038 NotCondition, 0039 AnyOf, 0040 Allof, 0041 AbstracteditheaderAction, 0042 AddflagsAction, 0043 AddheaderAction, 0044 BreakAction, 0045 ConvertAction, 0046 DeleteheaderAction, 0047 DiscardAction, 0048 EncloseAction, 0049 ExtracttextAction, 0050 FileintoAction, 0051 KeepAction, 0052 NotifyAction, 0053 RedirectAction, 0054 RejectAction, 0055 RemoveflagsAction, 0056 ReplaceAction, 0057 ReturnAction, 0058 SetflagsAction, 0059 SetvariableAction, 0060 StopAction, 0061 VacationAction, 0062 GlobalVariable, 0063 Includes, 0064 ForEveryPart, 0065 CopyExtension, 0066 MBoxMetaDataExtension, 0067 SubAddressExtension, 0068 ERejectAction, 0069 ImapFlagsExtension, 0070 EditHeaderExtension 0071 }; 0072 KSieveUi::SieveEditorUtil::HelpVariableName strToVariableName(const QString &str); 0073 0074 QUrl helpUrl(KSieveUi::SieveEditorUtil::HelpVariableName type); 0075 } 0076 }