KTextAddons

bergamotenginesettingswidget.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 "bergamotengineutils.h"
9#include "libbergamot_private_export.h"
10
11#include <QWidget>
12class QComboBox;
13class QCheckBox;
14class LIBBERGAMOT_TESTS_EXPORT BergamotEngineSettingsWidget : public QWidget
15{
16 Q_OBJECT
17public:
18 explicit BergamotEngineSettingsWidget(QWidget *parent = nullptr);
19 ~BergamotEngineSettingsWidget() override;
20
21 void setSettingsInfo(const BergamotEngineUtils::SettingsInfo &info);
22 [[nodiscard]] BergamotEngineUtils::SettingsInfo settingsInfo() const;
23
24private:
25 void fillCombobox();
26 QComboBox *const mNumberThreads;
27 QComboBox *const mMemoryByThreads;
28 QCheckBox *const mUseLocalCache;
29};
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.