KTextAddons

textautogeneratetextconfigurecombowidget.h
1/*
2 SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "textautogeneratetext_export.h"
10#include <QWidget>
11class QComboBox;
12class QToolButton;
13namespace TextAutogenerateText
14{
15class TEXTAUTOGENERATETEXT_EXPORT TextAutogenerateTextConfigureComboWidget : public QWidget
16{
17 Q_OBJECT
18public:
19 explicit TextAutogenerateTextConfigureComboWidget(QWidget *parent = nullptr);
20 ~TextAutogenerateTextConfigureComboWidget() 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)
QAction * save(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 18 2025 12:00:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.