KTextAddons

begamotenginedialog.h
1/*
2 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6#pragma once
7
8#include "bergamotengineutils.h"
9#include "libbergamot_export.h"
10#include <QDialog>
11class BergamotEngineWidget;
12class LIBBERGAMOT_EXPORT BegamotEngineDialog : public QDialog
13{
14 Q_OBJECT
15public:
16 explicit BegamotEngineDialog(QWidget *parent = nullptr);
17 ~BegamotEngineDialog() override;
18
19 void setSettingsInfo(const BergamotEngineUtils::SettingsInfo &info);
20 [[nodiscard]] BergamotEngineUtils::SettingsInfo settingsInfo() const;
21
22private:
23 LIBBERGAMOT_NO_EXPORT void writeConfig();
24 LIBBERGAMOT_NO_EXPORT void readConfig();
25 BergamotEngineWidget *const mBergamotEngineWidget;
26};
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.