KPimTextEdit

inserthtmldialog.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5
6*/
7
8#pragma once
9
10#include "kpimtextedit_private_export.h"
11#include <QDialog>
12
13namespace KPIMTextEdit
14{
15class InsertHtmlDialogPrivate;
16class KPIMTEXTEDIT_TESTS_EXPORT InsertHtmlDialog : public QDialog
17{
18 Q_OBJECT
19public:
20 explicit InsertHtmlDialog(QWidget *parent = nullptr);
21 ~InsertHtmlDialog() override;
22 [[nodiscard]] QString html() const;
23 void setSelectedText(const QString &str);
24
25private:
26 friend class InsertHtmlDialogPrivate;
27 std::unique_ptr<InsertHtmlDialogPrivate> const d;
28 void readConfig();
29 void writeConfig();
30};
31}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.