KTextAddons

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

KDE's Doxygen guidelines are available online.