voice QML Type

The voice type represents a particular voice. More...

Import Statement: import QtTextToSpeech


Detailed Description

To get a voice that is supported by the current text-to-speech engine, use TextToSpeech::availableVoices().

Property Documentation

gender : enumeration

This property holds the gender of the voice.

See also QVoice::Gender.

language : enumerator [since 6.6]

This property holds the language of the voice.

This is the language attribute of the voice's locale.

This property was introduced in Qt 6.6.

locale : locale

This property holds the locale of the voice.

The locale includes the language and the territory (i.e. accent or dialect) of the voice.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.