KTextAddons

translatorconfigurecombowidget.h
1/*
2 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "texttranslator_private_export.h"
10#include <QWidget>
11class QComboBox;
12class QToolButton;
13namespace TextTranslator
14{
15class TEXTTRANSLATOR_TESTS_EXPORT TranslatorConfigureComboWidget : public QWidget
16{
17 Q_OBJECT
18public:
19 explicit TranslatorConfigureComboWidget(QWidget *parent = nullptr);
20 ~TranslatorConfigureComboWidget() override;
21
22 void load();
23 void save();
24
25Q_SIGNALS:
26 void engineChanged(const QString &engineName);
27 void configureChanged(const QString &engineName);
28
29private:
30 void fillEngine();
31 void slotConfigureEngine();
32 void slotEngineChanged(int index);
33 QComboBox *const mEngineComboBox;
34 QToolButton *const mConfigureEngine;
35};
36}
QAction * load(const QObject *recvr, const char *slot, QObject *parent)
KGuiItem save()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.