Libksieve

sievepreviewgeneratedcodewidget.h
1/*
2 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7#include "ksieveui_private_export.h"
8#include <QWidget>
9class QTextEdit;
10namespace KSieveUi
11{
12class KSIEVEUI_TESTS_EXPORT SievePreviewGeneratedCodeWidget : public QWidget
13{
14 Q_OBJECT
15public:
16 explicit SievePreviewGeneratedCodeWidget(QWidget *parent = nullptr);
17 ~SievePreviewGeneratedCodeWidget() override;
18
19 void setCode(const QString &str);
20
21private:
22 QTextEdit *const mTextEdit;
23};
24}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.