![]() |
QtLingo 1
QtLingo is an Application to make Qt Computer Translations easier
|
Q Online Tts. More...
#include <qonlinetts.h>
Public Types | |
enum | Voice { NoVoice = -1 , Zahar , Ermil , Jane , Oksana , Alyss , Omazh } |
enum | Emotion { NoEmotion = -1 , Neutral , Good , Evil } |
enum | TtsError { NoError , UnsupportedEngine , UnsupportedLanguage , UnsupportedVoice , UnsupportedEmotion } |
Public Member Functions | |
QOnlineTts (QObject *parent=nullptr) | |
QOnlineTts. More... | |
void | generateUrls (const QString &text, QOnlineTranslator::Engine engine, QOnlineTranslator::Language lang, Voice voice=NoVoice, Emotion emotion=NoEmotion) |
generateUrls More... | |
QList< QMediaContent > | media () const |
media More... | |
TtsError | error () const |
error More... | |
QString | errorString () const |
errorString More... | |
Static Public Member Functions | |
static QString | voiceCode (Voice voice) |
voiceCode More... | |
static QString | emotionCode (Emotion emotion) |
emotionCode More... | |
static Emotion | emotion (const QString &emotionCode) |
emotion More... | |
static Voice | voice (const QString &voiceCode) |
voice More... | |
Q Online Tts.
Definition at line 32 of file qonlinetts.h.
enum QOnlineTts::Emotion |
Enumerator | |
---|---|
NoEmotion |
NoEmotion |
Neutral |
Neutral |
Good |
Good |
Evil |
Evil |
Definition at line 52 of file qonlinetts.h.
enum QOnlineTts::TtsError |
Definition at line 63 of file qonlinetts.h.
enum QOnlineTts::Voice |
Enumerator | |
---|---|
NoVoice |
NoVoice |
Zahar |
Zahar |
Ermil |
Ermil |
Jane |
Jane |
Oksana |
Oksana |
Alyss |
Alyss |
Omazh |
Omazh |
Definition at line 38 of file qonlinetts.h.
|
explicit |
QOnline Tts. QOnlineTts.
Definition at line 50 of file qonlinetts.cpp.
|
static |
emotion
emotion. emotion
Definition at line 184 of file qonlinetts.cpp.
|
static |
emotionCode
emotion Code. emotionCode
Definition at line 176 of file qonlinetts.cpp.
QOnlineTts::TtsError QOnlineTts::error | ( | ) | const |
QString QOnlineTts::errorString | ( | ) | const |
void QOnlineTts::generateUrls | ( | const QString & | text, |
QOnlineTranslator::Engine | engine, | ||
QOnlineTranslator::Language | lang, | ||
Voice | voice = NoVoice , |
||
Emotion | emotion = NoEmotion |
||
) |
generateUrls
generate Urls. generateUrls
Definition at line 57 of file qonlinetts.cpp.
QList< QMediaContent > QOnlineTts::media | ( | ) | const |
|
static |
|
static |