7#include "translatorconfigurewidget.h"
8#include "translatorconfigurecombowidget.h"
9#include <KLocalizedString>
10#include <KSharedConfig>
13using namespace TextTranslator;
15class Q_DECL_HIDDEN TextTranslator::TranslatorConfigureWidget::TranslatorConfigureWidgetPrivate
18 TranslatorConfigureWidgetPrivate(TranslatorConfigureWidget *parent)
19 : mEngineConfigureComboWidget(new TranslatorConfigureComboWidget(parent))
23 TranslatorConfigureComboWidget *
const mEngineConfigureComboWidget;
26TranslatorConfigureWidget::TranslatorConfigureWidget(
QWidget *parent)
28 , d(new TranslatorConfigureWidgetPrivate(this))
31 mainLayout->setObjectName(QStringLiteral(
"mainLayout"));
32 mainLayout->setContentsMargins({});
34 d->mEngineConfigureComboWidget->setObjectName(QStringLiteral(
"mEngineConfigureComboWidget"));
37 mainLayout->addLayout(hboxLayout);
40 label->setObjectName(QStringLiteral(
"label"));
41 hboxLayout->addWidget(label);
42 hboxLayout->addWidget(d->mEngineConfigureComboWidget);
45TranslatorConfigureWidget::~TranslatorConfigureWidget() =
default;
47void TranslatorConfigureWidget::saveSettings()
49 d->mEngineConfigureComboWidget->save();
52void TranslatorConfigureWidget::loadSettings()
54 d->mEngineConfigureComboWidget->load();
57#include "moc_translatorconfigurewidget.cpp"
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString label(StandardShortcut id)
void setContentsMargins(const QMargins &margins)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:02 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.