QVoice
QVoice
#include <QVoice>
Public Types
Public Functions
| QVoice() | |
| QVoice(const QVoice &other) | |
| ~QVoice() | |
| QVoice::Age | age() const |
| QVoice::Gender | gender() const |
| QString | name() const |
| bool | operator!=(const QVoice &other) |
| void | operator=(const QVoice &other) |
| bool | operator==(const QVoice &other) |
Static Public Members
| QString | ageName(QVoice::Age age) |
| QString | genderName(QVoice::Gender gender) |
详细说明
QVoice类允许设置和检索特定语音的值。
| Constant | Value | Description |
|---|---|---|
QVoice::Child |
0 |
Voice of a child |
QVoice::Teenager |
1 |
Voice of a teenager |
QVoice::Adult |
2 |
Voice of an adult |
QVoice::Senior |
3 |
Voice of a senior |
QVoice::Other |
4 |
Voice of unknown age |
| Constant | Value | Description |
|---|---|---|
QVoice::Male |
0 |
Voice of a male |
QVoice::Female |
1 |
Voice of a female |
QVoice::Unknown |
2 |
Voice of unknown gender |
########################
QQ 3087438119

浙公网安备 33010602011771号