Libksieve

sievescriptparsingerrordialog.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 #include "ksieveui_private_export.h"
9 #include <QDialog>
10 namespace KPIMTextEdit
11 {
12 class RichTextEditorWidget;
13 }
14 namespace KSieveUi
15 {
16 class KSIEVEUI_TESTS_EXPORT SieveScriptParsingErrorDialog : public QDialog
17 {
18  Q_OBJECT
19 public:
20  explicit SieveScriptParsingErrorDialog(QWidget *parent = nullptr);
21  ~SieveScriptParsingErrorDialog() override;
22 
23  void setError(QString script, QString);
24 
25 private:
26  void slotSaveAs();
27  void readConfig();
28  void writeConfig();
29 
30 private:
31  KPIMTextEdit::RichTextEditorWidget *mTextEdit = nullptr;
32 };
33 }
void readConfig()
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.