Libksieve

sieveactionabstracteditheader.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 "sieveactionabstracteditheader.h"
7
8using namespace KSieveUi;
9
10SieveActionAbstractEditHeader::SieveActionAbstractEditHeader(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget,
11 const QString &name,
12 const QString &label,
13 QObject *parent)
14 : SieveAction(sieveGraphicalModeWidget, name, label, parent)
15{
16}
17
18QStringList SieveActionAbstractEditHeader::needRequires(QWidget *) const
19{
20 return QStringList() << QStringLiteral("editheader");
21}
22
23bool SieveActionAbstractEditHeader::needCheckIfServerHasCapability() const
24{
25 return true;
26}
27
28QString SieveActionAbstractEditHeader::serverNeedsCapability() const
29{
30 return QStringLiteral("editheader");
31}
32
33#include "moc_sieveactionabstracteditheader.cpp"
QString name(StandardAction id)
QString label(StandardShortcut id)
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.