Libksieve

sievescriptdescriptiondialog.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 
9 #include <QDialog>
10 
11 namespace KPIMTextEdit
12 {
13 class PlainTextEditorWidget;
14 }
15 namespace KSieveUi
16 {
17 class SieveScriptDescriptionDialog : public QDialog
18 {
19  Q_OBJECT
20 public:
21  explicit SieveScriptDescriptionDialog(QWidget *parent = nullptr);
22  ~SieveScriptDescriptionDialog() override;
23 
24  void setDescription(const QString &desc);
25  Q_REQUIRED_RESULT QString description() const;
26 
27 private:
28  void readConfig();
29  void writeConfig();
30 
31 private:
32  KPIMTextEdit::PlainTextEditorWidget *mEdit = nullptr;
33 };
34 }
35 
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.