File indexing completed on 2024-12-22 04:28:24
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "textspeechtotext_export.h" 0009 #include <QWidget> 0010 class QToolButton; 0011 namespace TextSpeechToText 0012 { 0013 /** 0014 * @brief The SpeechToTextAction class 0015 * @author Laurent Montel <montel@kde.org> 0016 */ 0017 class TEXTSPEECHTOTEXT_EXPORT SpeechToTextToolButtonWidget : public QWidget 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit SpeechToTextToolButtonWidget(QWidget *parent = nullptr); 0022 ~SpeechToTextToolButtonWidget() override; 0023 0024 private: 0025 TEXTSPEECHTOTEXT_NO_EXPORT void slotButtonClicked(); 0026 QToolButton *const mToolButton; 0027 }; 0028 }