QVoice Class

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 )

详细描述

QVoice class allows to set and retrieve values of a particular voice

成员类型文档编制

enum QVoice:: Age

enum QVoice:: Gender

成员函数文档编制

QVoice:: QVoice ()

Default constructs an instance of QVoice.

QVoice:: QVoice (const QVoice & other )

Copy constructor.

QVoice:: ~QVoice ()

Destroys the instance of QVoice.

Age QVoice:: age () const

Returns the age of a voice

[static] QString QVoice:: ageName ( QVoice::Age age )

返回 age class of a voice

Gender QVoice:: gender () const

Returns the gender of a voice

[static] QString QVoice:: genderName ( QVoice::Gender gender )

̈́ Returns the gender name of a voice

QString QVoice:: name () const

Returns the name of a voice

bool QVoice:: operator!= (const QVoice & other )

void QVoice:: operator= (const QVoice & other )

Copy-assignment operator.

bool QVoice:: operator== (const QVoice & other )