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


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

    **Detailed Description**

    The QCollatorSortKey class is always created by **QCollator::sortKey** ()
    and is used for fast strings collation, for example when collating many
    strings.

    **See also** **QCollator**  and **QCollator::sortKey** ().
    """

    def __init__(self, other: "QCollatorSortKey") -> None:
        """
        https://doc.qt.io/qt-5/qcollatorsortkey.html#QCollatorSortKey

        **QCollatorSortKey::QCollatorSortKey(const QCollatorSortKey & other )**

        Constructs a copy of the **other** collator key.
        """
        ...

    def compare(self, key: "QCollatorSortKey") -> int:
        """
        https://doc.qt.io/qt-5/qcollatorsortkey.html#compare

        **int QCollatorSortKey::compare(const QCollatorSortKey & otherKey )
        const**

        Compares this key to **otherKey**.

        Returns a negative value if the key is less than **otherKey** , 0 if the
        key is equal to **otherKey** or a positive value if the key is greater
        than **otherKey**.

        **See also** **operator<** ().
        """
        ...

    def swap(self, other: "QCollatorSortKey") -> None:
        """
        https://doc.qt.io/qt-5/qcollatorsortkey.html#swap

        **void QCollatorSortKey::swap(QCollatorSortKey & other )**

        Swaps this collator key with **other**.
        """
        ...
