Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/editor/sieveeditorutil.cpp
Show All 15 Lines | |||||
16 | */ | 16 | */ | ||
17 | 17 | | |||
18 | #include "sieveeditorutil.h" | 18 | #include "sieveeditorutil.h" | ||
19 | 19 | | |||
20 | QUrl KSieveUi::SieveEditorUtil::helpUrl(KSieveUi::SieveEditorUtil::HelpVariableName type) | 20 | QUrl KSieveUi::SieveEditorUtil::helpUrl(KSieveUi::SieveEditorUtil::HelpVariableName type) | ||
21 | { | 21 | { | ||
22 | switch (type) { | 22 | switch (type) { | ||
23 | case AddressCondition: | 23 | case AddressCondition: | ||
24 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5228#page-16")); | 24 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5228#page-16")); | ||
25 | case BodyCondition: | 25 | case BodyCondition: | ||
26 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5173")); | 26 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5173")); | ||
27 | case ConvertCondition: | 27 | case ConvertCondition: | ||
28 | return QUrl(); //TODO | 28 | return QUrl(); //TODO | ||
29 | case CurrentdateCondition: | 29 | case CurrentdateCondition: | ||
30 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5260#page-6")); | 30 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5260#page-6")); | ||
31 | case DateCondition: | 31 | case DateCondition: | ||
32 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5260#page-4")); | 32 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5260#page-4")); | ||
33 | case EnvelopeCondition: | 33 | case EnvelopeCondition: | ||
34 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-24")); | 34 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-24")); | ||
35 | case EnvironmentCondition: | 35 | case EnvironmentCondition: | ||
36 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5183")); | 36 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5183")); | ||
37 | case ExistsCondition: | 37 | case ExistsCondition: | ||
38 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-25")); | 38 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-25")); | ||
39 | case FalseCondition: | 39 | case FalseCondition: | ||
40 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-25")); | 40 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-25")); | ||
41 | case HasflagCondition: | 41 | case HasflagCondition: | ||
42 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5232#page-5")); | 42 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232#page-5")); | ||
43 | case HeaderCondition: | 43 | case HeaderCondition: | ||
44 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5228#page-9")); | 44 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5228#page-9")); | ||
45 | case IhaveCondition: | 45 | case IhaveCondition: | ||
46 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5463")); | 46 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5463")); | ||
47 | case MailboxexistsCondition: | 47 | case MailboxexistsCondition: | ||
48 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-2")); | 48 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-2")); | ||
49 | case MetadataexistsCondition: | 49 | case MetadataexistsCondition: | ||
50 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-6")); | 50 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-6")); | ||
51 | case MetadataCondition: | 51 | case MetadataCondition: | ||
52 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-5")); | 52 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-5")); | ||
53 | case ServermetadataexistsCondition: | 53 | case ServermetadataexistsCondition: | ||
54 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-4")); | 54 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-4")); | ||
55 | case ServermetadataCondition: | 55 | case ServermetadataCondition: | ||
56 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-5")); | 56 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-5")); | ||
57 | case SizeCondition: | 57 | case SizeCondition: | ||
58 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-26")); | 58 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-26")); | ||
59 | case SpamtestCondition: | 59 | case SpamtestCondition: | ||
60 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3685#page-3")); | 60 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3685#page-3")); | ||
61 | case TrueCondition: | 61 | case TrueCondition: | ||
62 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-26")); | 62 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-26")); | ||
63 | case NotCondition: | 63 | case NotCondition: | ||
64 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-26")); | 64 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-26")); | ||
65 | case AnyOf: | 65 | case AnyOf: | ||
66 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-24")); | 66 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-24")); | ||
67 | case Allof: | 67 | case Allof: | ||
68 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-23")); | 68 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-23")); | ||
69 | case VirustestCondition: | 69 | case VirustestCondition: | ||
70 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3685#page-4")); | 70 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3685#page-4")); | ||
71 | case AbstracteditheaderAction: | 71 | case AbstracteditheaderAction: | ||
72 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5228#page-9")); | 72 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5228#page-9")); | ||
73 | case AddflagsAction: | 73 | case AddflagsAction: | ||
74 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5232#page-5")); | 74 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232#page-5")); | ||
75 | case AddheaderAction: | 75 | case AddheaderAction: | ||
76 | case DeleteheaderAction: | 76 | case DeleteheaderAction: | ||
77 | case EditHeaderExtension: | 77 | case EditHeaderExtension: | ||
78 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5293")); | 78 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5293")); | ||
79 | case BreakAction: | 79 | case BreakAction: | ||
80 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-3")); | 80 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5703#page-3")); | ||
81 | case ConvertAction: | 81 | case ConvertAction: | ||
82 | return QUrl(); //TODO | 82 | return QUrl(); //TODO | ||
83 | case DiscardAction: | 83 | case DiscardAction: | ||
84 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-22")); | 84 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-22")); | ||
85 | case EncloseAction: | 85 | case EncloseAction: | ||
86 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-10")); | 86 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5703#page-10")); | ||
87 | case ExtracttextAction: | 87 | case ExtracttextAction: | ||
88 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-11")); | 88 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5703#page-11")); | ||
89 | case FileintoAction: | 89 | case FileintoAction: | ||
90 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-20")); | 90 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-20")); | ||
91 | case KeepAction: | 91 | case KeepAction: | ||
92 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-21")); | 92 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-21")); | ||
93 | case NotifyAction: | 93 | case NotifyAction: | ||
94 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5435#page-3")); | 94 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5435#page-3")); | ||
95 | case RedirectAction: | 95 | case RedirectAction: | ||
96 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-20")); | 96 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-20")); | ||
97 | case RejectAction: | 97 | case RejectAction: | ||
98 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-20")); | 98 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-20")); | ||
99 | case ERejectAction: | 99 | case ERejectAction: | ||
100 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5429#section-2.1")); | 100 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5429#section-2.1")); | ||
101 | case RemoveflagsAction: | 101 | case RemoveflagsAction: | ||
102 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5232#page-5")); | 102 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232#page-5")); | ||
103 | case ReplaceAction: | 103 | case ReplaceAction: | ||
104 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-8")); | 104 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5703#page-8")); | ||
105 | case ReturnAction: | 105 | case ReturnAction: | ||
106 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc6609#page-7")); | 106 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc6609#page-7")); | ||
107 | case SetflagsAction: | 107 | case SetflagsAction: | ||
108 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5232#page-4")); | 108 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232#page-4")); | ||
109 | case SetvariableAction: | 109 | case SetvariableAction: | ||
110 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5229")); | 110 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5229")); | ||
111 | case StopAction: | 111 | case StopAction: | ||
112 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3028#page-19")); | 112 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3028#page-19")); | ||
113 | case VacationAction: | 113 | case VacationAction: | ||
114 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5230#page-3")); | 114 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5230#page-3")); | ||
115 | case GlobalVariable: | 115 | case GlobalVariable: | ||
116 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5229")); | 116 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5229")); | ||
117 | case Includes: | 117 | case Includes: | ||
118 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc6609#page-4")); | 118 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc6609#page-4")); | ||
119 | case ForEveryPart: | 119 | case ForEveryPart: | ||
120 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5703#page-3")); | 120 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5703#page-3")); | ||
121 | case CopyExtension: | 121 | case CopyExtension: | ||
122 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc3894")); | 122 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc3894")); | ||
123 | case MBoxMetaDataExtension: | 123 | case MBoxMetaDataExtension: | ||
124 | return QUrl(QStringLiteral("http://tools.ietf.org/html/rfc5490#page-2")); | 124 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5490#page-2")); | ||
125 | case SubAddressExtension: | 125 | case SubAddressExtension: | ||
126 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5233")); | 126 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5233")); | ||
127 | case ImapFlagsExtension: | 127 | case ImapFlagsExtension: | ||
128 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232")); | 128 | return QUrl(QStringLiteral("https://tools.ietf.org/html/rfc5232")); | ||
129 | case UnknownHelp: | 129 | case UnknownHelp: | ||
130 | break; | 130 | break; | ||
131 | } | 131 | } | ||
132 | return QUrl(); | 132 | return QUrl(); | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |