Libksieve

parsingresultdialog.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #pragma once
7 #include "ksieveui_private_export.h"
8 #include <KSyntaxHighlighting/Repository>
9 #include <QDialog>
10 
11 namespace KPIMTextEdit
12 {
13 class PlainTextEditorWidget;
14 }
15 namespace KSieveUi
16 {
17 class KSIEVEUI_TESTS_EXPORT ParsingResultDialog : public QDialog
18 {
19  Q_OBJECT
20 public:
21  explicit ParsingResultDialog(QWidget *parent = nullptr);
22  ~ParsingResultDialog() override;
23 
24  void setResultParsing(const QString &result);
25 
26 private Q_SLOTS:
27  void slotSaveAs();
28 
29 private:
30  void readConfig();
31  void writeConfig();
32  KPIMTextEdit::PlainTextEditorWidget *mTextEdit = nullptr;
34 };
35 }
36 
void readConfig()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Apr 11 2021 23:09:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.