"""
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

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from enum import Enum
from typing import overload
import PySide6.QtCore

bytes = str


class QIODeviceBase(object):
    """
    https://doc.qt.io/qt-6/qiodevicebase.html

    **Detailed Description**
    """

    NotOpen: QIODeviceBase.OpenModeFlag = ...
    ReadOnly: QIODeviceBase.OpenModeFlag = ...
    WriteOnly: QIODeviceBase.OpenModeFlag = ...
    ReadWrite: QIODeviceBase.OpenModeFlag = ...
    Append: QIODeviceBase.OpenModeFlag = ...
    Truncate: QIODeviceBase.OpenModeFlag = ...
    Text: QIODeviceBase.OpenModeFlag = ...
    Unbuffered: QIODeviceBase.OpenModeFlag = ...
    NewOnly: QIODeviceBase.OpenModeFlag = ...
    ExistingOnly: QIODeviceBase.OpenModeFlag = ...

    class OpenMode(object):
        ...

    class OpenModeFlag(Enum):
        NotOpen: QIODeviceBase.OpenModeFlag = ...
        ReadOnly: QIODeviceBase.OpenModeFlag = ...
        WriteOnly: QIODeviceBase.OpenModeFlag = ...
        ReadWrite: QIODeviceBase.OpenModeFlag = ...
        Append: QIODeviceBase.OpenModeFlag = ...
        Truncate: QIODeviceBase.OpenModeFlag = ...
        Text: QIODeviceBase.OpenModeFlag = ...
        Unbuffered: QIODeviceBase.OpenModeFlag = ...
        NewOnly: QIODeviceBase.OpenModeFlag = ...
        ExistingOnly: QIODeviceBase.OpenModeFlag = ...

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

    @overload
    def __init__(self, QIODeviceBase: PySide6.QtCore.QIODeviceBase) -> None:
        ...

    @staticmethod
    def __copy__() -> None:
        ...
