File indexing completed on 2024-04-21 03:48:35
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2015 Gábor Péterffy <peterffy95@gmail.com> 0004 // 0005 0006 #ifndef TEXTTOSPEECHCLIENT_H 0007 #define TEXTTOSPEECHCLIENT_H 0008 0009 #include <QObject> 0010 0011 class TextToSpeechClient : public QObject 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 explicit TextToSpeechClient(QObject * parent = nullptr); 0017 ~TextToSpeechClient() override; 0018 0019 public Q_SLOTS: 0020 Q_INVOKABLE void readText(const QString & text); 0021 Q_INVOKABLE void setLocale(const QString & locale); 0022 }; 0023 0024 #endif