Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveincludewidget.cpp
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | |||||
224 | { | 224 | { | ||
225 | mIncludeLister->setListOfIncludeFile(lst); | 225 | mIncludeLister->setListOfIncludeFile(lst); | ||
226 | } | 226 | } | ||
227 | 227 | | |||
228 | void SieveIncludeWidget::slotHelp() | 228 | void SieveIncludeWidget::slotHelp() | ||
229 | { | 229 | { | ||
230 | const QString help = i18n( | 230 | const QString help = i18n( | ||
231 | "The \"include\" command takes an optional \"location\" parameter, an optional \":once\" parameter, an optional \":optional\" parameter, and a single string argument representing the name of the script to include for processing at that point."); | 231 | "The \"include\" command takes an optional \"location\" parameter, an optional \":once\" parameter, an optional \":optional\" parameter, and a single string argument representing the name of the script to include for processing at that point."); | ||
232 | const QString href = QStringLiteral("http://tools.ietf.org/html/rfc6609#page-4"); | 232 | const QString href = QStringLiteral("https://tools.ietf.org/html/rfc6609#page-4"); | ||
233 | const QString fullWhatsThis = AutoCreateScriptUtil::createFullWhatsThis(help, href); | 233 | const QString fullWhatsThis = AutoCreateScriptUtil::createFullWhatsThis(help, href); | ||
234 | QWhatsThis::showText(QCursor::pos(), fullWhatsThis, mHelpButton); | 234 | QWhatsThis::showText(QCursor::pos(), fullWhatsThis, mHelpButton); | ||
235 | } | 235 | } | ||
236 | 236 | | |||
237 | void SieveIncludeWidget::generatedScript(QString &script, QStringList &requireModules, bool inForEveryPartLoop) | 237 | void SieveIncludeWidget::generatedScript(QString &script, QStringList &requireModules, bool inForEveryPartLoop) | ||
238 | { | 238 | { | ||
239 | Q_UNUSED(inForEveryPartLoop); | 239 | Q_UNUSED(inForEveryPartLoop); | ||
240 | QString result; | 240 | QString result; | ||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |