7#include "bergamotenginewidget.h"
8#include "bergamotenginelanguagewidget.h"
9#include <KLocalizedString>
13BergamotEngineWidget::BergamotEngineWidget(
QWidget *parent)
16 , mLanguageWidget(new BergamotEngineLanguageWidget(this))
17 , mSettingsWidget(new BergamotEngineSettingsWidget(this))
20 mainLayout->setObjectName(QStringLiteral(
"mainLayout"));
21 mainLayout->setContentsMargins({});
23 mTabWidget->setObjectName(QStringLiteral(
"mTabWidget"));
24 mainLayout->addWidget(mTabWidget);
26 mLanguageWidget->setObjectName(QStringLiteral(
"mLanguageWidget"));
27 mSettingsWidget->setObjectName(QStringLiteral(
"mSettingsWidget"));
29 mTabWidget->addTab(mLanguageWidget,
i18n(
"Languages"));
30 mTabWidget->addTab(mSettingsWidget,
i18n(
"Settings"));
33BergamotEngineWidget::~BergamotEngineWidget() =
default;
35void BergamotEngineWidget::setSettingsInfo(
const BergamotEngineUtils::SettingsInfo &info)
37 mSettingsWidget->setSettingsInfo(info);
40BergamotEngineUtils::SettingsInfo BergamotEngineWidget::settingsInfo()
const
42 return mSettingsWidget->settingsInfo();
45#include "moc_bergamotenginewidget.cpp"
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.