Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveactions/sieveactionnotify.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 76 | if (tagValue == QLatin1String("message")) { | |||
---|---|---|---|---|---|
81 | } | 81 | } | ||
82 | } else if (tagValue == QLatin1String("importance")) { | 82 | } else if (tagValue == QLatin1String("importance")) { | ||
83 | const QString strValue = AutoCreateScriptUtil::strValue(element); | 83 | const QString strValue = AutoCreateScriptUtil::strValue(element); | ||
84 | if (!strValue.isEmpty()) { | 84 | if (!strValue.isEmpty()) { | ||
85 | SelectImportanceCombobox *importance = w->findChild<SelectImportanceCombobox *>(QStringLiteral("importancecombo")); | 85 | SelectImportanceCombobox *importance = w->findChild<SelectImportanceCombobox *>(QStringLiteral("importancecombo")); | ||
86 | importance->setCode(strValue, name(), error); | 86 | importance->setCode(strValue, name(), error); | ||
87 | } | 87 | } | ||
88 | } else { | 88 | } else { | ||
89 | unknowTagValue(tagValue, error); | 89 | unknownTagValue(tagValue, error); | ||
90 | qCDebug(LIBKSIEVE_LOG) << " SieveActionNotify::setParamWidgetValue unknown tagValue" << tagValue; | 90 | qCDebug(LIBKSIEVE_LOG) << " SieveActionNotify::setParamWidgetValue unknown tagValue" << tagValue; | ||
91 | } | 91 | } | ||
92 | } else if (tagName == QLatin1String("crlf")) { | 92 | } else if (tagName == QLatin1String("crlf")) { | ||
93 | element.skipCurrentElement(); | 93 | element.skipCurrentElement(); | ||
94 | //nothing | 94 | //nothing | ||
95 | } else if (tagName == QLatin1String("comment")) { | 95 | } else if (tagName == QLatin1String("comment")) { | ||
96 | element.skipCurrentElement(); | 96 | element.skipCurrentElement(); | ||
97 | //implement in the future ? | 97 | //implement in the future ? | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |