6#include "voskspeechtotextclient.h"
7#include "voskenginedialog.h"
8#include "voskspeechtotextplugin.h"
9#include <KLocalizedString>
12VoskSpeechToTextClient::VoskSpeechToTextClient(
QObject *parent)
13 : TextSpeechToText::SpeechToTextClient{parent}
17VoskSpeechToTextClient::~VoskSpeechToTextClient() =
default;
19QString VoskSpeechToTextClient::name()
const
21 return QStringLiteral(
"vosk");
24QString VoskSpeechToTextClient::translatedName()
const
29TextSpeechToText::SpeechToTextClient::EngineType VoskSpeechToTextClient::engineType()
const
31 return TextSpeechToText::SpeechToTextClient::Locale;
34TextSpeechToText::SpeechToTextPlugin *VoskSpeechToTextClient::createTextToSpeech()
36 return new VoskSpeechToTextPlugin;
39bool VoskSpeechToTextClient::hasConfigurationDialog()
const
44bool VoskSpeechToTextClient::showConfigureDialog(
QWidget *parentWidget)
46 bool settingsChanged =
false;
50 settingsChanged =
true;
53 return settingsChanged;
56#include "moc_voskspeechtotextclient.cpp"
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.