The QVoice class allows to set and retrieve values of a particular voice 更多...
头: | #include <QVoice> |
qmake: | QT += texttospeech |
enum | Age { Child, Teenager, Adult, Senior, Other } |
enum | Gender { Male, Female, Unknown } |
QVoice () | |
QVoice (const QVoice & other ) | |
~QVoice () | |
Age | age () const |
Gender | gender () const |
QString | name () const |
bool | operator!= (const QVoice & other ) |
void | operator= (const QVoice & other ) |
bool | operator== (const QVoice & other ) |
QString | ageName (QVoice::Age age ) |
QString | genderName (QVoice::Gender gender ) |
The QVoice class allows to set and retrieve values of a particular voice
Default constructs an instance of QVoice.
Copy constructor.
Destroys the instance of QVoice.
Returns the age of a voice
[static]
QString
QVoice::
ageName
(
QVoice::Age
age
)
返回 age class of a voice
Returns the gender of a voice
[static]
QString
QVoice::
genderName
(
QVoice::Gender
gender
)
̈́ Returns the gender name of a voice
Returns the name of a voice
拷贝赋值运算符。