Libksieve

sievepreviewgeneratedcodewidget.h
1 /*
2  SPDX-FileCopyrightText: 2020-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 <QWidget>
9 class QTextEdit;
10 namespace KSieveUi
11 {
12 class KSIEVEUI_TESTS_EXPORT SievePreviewGeneratedCodeWidget : public QWidget
13 {
14  Q_OBJECT
15 public:
16  explicit SievePreviewGeneratedCodeWidget(QWidget *parent = nullptr);
17  ~SievePreviewGeneratedCodeWidget() override;
18 
19  void setCode(const QString &str);
20 
21 private:
22  QTextEdit *const mTextEdit;
23 };
24 }
25 
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.