Libksieve

sieveactionsetflags.cpp
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#include "sieveactionsetflags.h"
7#include "editor/sieveeditorutil.h"
8
9#include <KLocalizedString>
10
11using namespace KSieveUi;
12SieveActionSetFlags::SieveActionSetFlags(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent)
13 : SieveActionAbstractFlags(sieveGraphicalModeWidget, QStringLiteral("setflag"), i18n("Set Flags"), parent)
14{
15}
16
17QString SieveActionSetFlags::flagsCode() const
18{
19 return QStringLiteral("setflag");
20}
21
22QString SieveActionSetFlags::help() const
23{
24 return i18n("Setflag is used for setting [IMAP] system flags or keywords. Setflag replaces any previously set flags.");
25}
26
27QUrl SieveActionSetFlags::href() const
28{
29 return SieveEditorUtil::helpUrl(SieveEditorUtil::strToVariableName(name()));
30}
31
32#include "moc_sieveactionsetflags.cpp"
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.