"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

PyPI(PyQt5): https://pypi.org/project/IceSpringPySideStubs-PyQt5

PyPI(PyQt6): https://pypi.org/project/IceSpringPySideStubs-PyQt6

Generated by BaiJiFeiLong@gmail.com

License: MIT
"""
import typing
from PyQt5.QtTextToSpeech import *
from PyQt5 import sip


class QVoice(sip.simplewrapper):
    """
    https://doc.qt.io/qt-5/qvoice.html

    **Detailed Description**
    """

    class Age(int):
        Child: QVoice = ...
        Teenager: QVoice = ...
        Adult: QVoice = ...
        Senior: QVoice = ...
        Other: QVoice = ...

    class Gender(int):
        Male: QVoice = ...
        Female: QVoice = ...
        Unknown: QVoice = ...

    @typing.overload
    def __init__(self) -> None:
        ...

    @typing.overload
    def __init__(self, other: "QVoice") -> None:
        ...

    @staticmethod
    def ageName(age: "QVoice.Age") -> str:
        """
        https://doc.qt.io/qt-5/qvoice.html#ageName

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

        Returns a string representing the **age** class of a voice.
        """
        ...

    @staticmethod
    def genderName(gender: "QVoice.Gender") -> str:
        """
        https://doc.qt.io/qt-5/qvoice.html#genderName

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

        ̈́ Returns the **gender** name of a voice.
        """
        ...

    def age(self) -> "QVoice.Age":
        """
        https://doc.qt.io/qt-5/qvoice.html#age

        **QVoice::Age QVoice::age() const**

        Returns the age of a voice.
        """
        ...

    def gender(self) -> "QVoice.Gender":
        """
        https://doc.qt.io/qt-5/qvoice.html#gender

        **QVoice::Gender QVoice::gender() const**

        Returns the gender of a voice.
        """
        ...

    def name(self) -> str:
        """
        https://doc.qt.io/qt-5/qvoice.html#name

        **QString QVoice::name() const**

        Returns the name of a voice.
        """
        ...
