KTextAddons

googlespeechtotextclient.h
1/*
2 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "speechtotext/speechtotextclient.h"
10
11class GoogleSpeechToTextClient : public TextSpeechToText::SpeechToTextClient
12{
14 Q_PLUGIN_METADATA(IID "org.kde.texttospeech.google")
16public:
17 explicit GoogleSpeechToTextClient(QObject *parent = nullptr);
18 ~GoogleSpeechToTextClient() override;
19
20 [[nodiscard]] QString name() const override;
21 [[nodiscard]] QString translatedName() const override;
22
23 [[nodiscard]] TextSpeechToText::SpeechToTextClient::EngineType engineType() const override;
24
25 [[nodiscard]] TextSpeechToText::SpeechToTextPlugin *createTextToSpeech() override;
26};
The SpeechToTextClient class.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:51:28 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.