Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveactions/sieveactionredirect.cpp
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 75 | } else if (tagName == QLatin1String("tag")) { | |||
---|---|---|---|---|---|
84 | } else if (tagValue == QLatin1String("list")) { | 84 | } else if (tagValue == QLatin1String("list")) { | ||
85 | if (mHasListSupport) { | 85 | if (mHasListSupport) { | ||
86 | QCheckBox *list = w->findChild<QCheckBox *>(QStringLiteral("list")); | 86 | QCheckBox *list = w->findChild<QCheckBox *>(QStringLiteral("list")); | ||
87 | list->setChecked(true); | 87 | list->setChecked(true); | ||
88 | } else { | 88 | } else { | ||
89 | serverDoesNotSupportFeatures(QStringLiteral("list"), error); | 89 | serverDoesNotSupportFeatures(QStringLiteral("list"), error); | ||
90 | } | 90 | } | ||
91 | } else { | 91 | } else { | ||
92 | unknowTagValue(tagValue, error); | 92 | unknownTagValue(tagValue, error); | ||
93 | qCDebug(LIBKSIEVE_LOG) << " SieveActionRedirect::setParamWidgetValue tagValue unknown" << tagValue; | 93 | qCDebug(LIBKSIEVE_LOG) << " SieveActionRedirect::setParamWidgetValue tagValue unknown" << tagValue; | ||
94 | } | 94 | } | ||
95 | } else if (tagName == QLatin1String("crlf")) { | 95 | } else if (tagName == QLatin1String("crlf")) { | ||
96 | element.skipCurrentElement(); | 96 | element.skipCurrentElement(); | ||
97 | //nothing | 97 | //nothing | ||
98 | } else if (tagName == QLatin1String("comment")) { | 98 | } else if (tagName == QLatin1String("comment")) { | ||
99 | setComment(element.readElementText()); | 99 | setComment(element.readElementText()); | ||
100 | //implement in the future ? | 100 | //implement in the future ? | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |