Libksieve

sieveactionabstracteditheader.cpp
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #include "sieveactionabstracteditheader.h"
7 
8 using namespace KSieveUi;
9 
10 SieveActionAbstractEditHeader::SieveActionAbstractEditHeader(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget,
11  const QString &name,
12  const QString &label,
13  QObject *parent)
14  : SieveAction(sieveGraphicalModeWidget, name, label, parent)
15 {
16 }
17 
18 QStringList SieveActionAbstractEditHeader::needRequires(QWidget *) const
19 {
20  return QStringList() << QStringLiteral("editheader");
21 }
22 
23 bool SieveActionAbstractEditHeader::needCheckIfServerHasCapability() const
24 {
25  return true;
26 }
27 
28 QString SieveActionAbstractEditHeader::serverNeedsCapability() const
29 {
30  return QStringLiteral("editheader");
31 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:09:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.