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


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

    **Detailed Description**

    The reader reports a QXmlLocator to the content handler before it starts to
    parse the document. This is done with the
    **QXmlContentHandler::setDocumentLocator** () function. The handler classes
    can now use this locator to get the position (**lineNumber** () and
    **columnNumber** ()) that the reader has reached.
    """

    @typing.overload
    def __init__(self) -> None:
        """
        https://doc.qt.io/qt-5/qxmllocator.html#QXmlLocator

        **QXmlLocator::QXmlLocator()**

        Constructor.
        """
        ...

    @typing.overload
    def __init__(self, a0: "QXmlLocator") -> None:
        """
        https://doc.qt.io/qt-5/qxmllocator.html#QXmlLocator

        **QXmlLocator::QXmlLocator()**

        Constructor.
        """
        ...

    def lineNumber(self) -> int:
        """
        https://doc.qt.io/qt-5/qxmllocator.html#lineNumber

        **[pure virtual] int QXmlLocator::lineNumber() const**

        Returns the line number (starting at 1) or -1 if there is no line number
        available.
        """
        ...

    def columnNumber(self) -> int:
        """
        https://doc.qt.io/qt-5/qxmllocator.html#columnNumber

        **[pure virtual] int QXmlLocator::columnNumber() const**

        Returns the column number (starting at 1) or -1 if there is no column
        number available.
        """
        ...
