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 <QAction>
0010 namespace TextSpeechToText
0011 {
0012 /**
0013  * @brief The SpeechToTextAction class
0014  * @author Laurent Montel <montel@kde.org>
0015  */
0016 class TEXTSPEECHTOTEXT_EXPORT SpeechToTextAction : public QAction
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit SpeechToTextAction(QObject *parent = nullptr);
0021     ~SpeechToTextAction() override;
0022 
0023 private:
0024     TEXTSPEECHTOTEXT_NO_EXPORT void slotClicked();
0025 };
0026 }