Libksieve

sieveeditorgraphicalmodewidgetabstract.h
1 /*
2  SPDX-FileCopyrightText: 2017-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "ksieveui_private_export.h"
10 #include <editor/sieveeditorabstractwidget.h>
11 namespace KSieveUi
12 {
13 class KSIEVEUI_TESTS_EXPORT SieveEditorGraphicalModeWidgetAbstract : public KSieveUi::SieveEditorAbstractWidget
14 {
15  Q_OBJECT
16 public:
17  explicit SieveEditorGraphicalModeWidgetAbstract(QWidget *parent);
18  ~SieveEditorGraphicalModeWidgetAbstract() override;
19 
20  Q_REQUIRED_RESULT virtual QString script(QStringList &requireModules) const = 0;
21 
22  virtual void setSieveCapabilities(const QStringList &capabilities) = 0;
23 
24  Q_REQUIRED_RESULT virtual QStringList sieveCapabilities() = 0;
25 
26  virtual void loadScript(const QString &doc, QString &error) = 0;
27 
28  virtual void setListOfIncludeFile(const QStringList &listOfIncludeFile) = 0;
29  Q_REQUIRED_RESULT virtual QStringList listOfIncludeFile() const = 0;
30 };
31 }
32 
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.