"""
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 QtCore
from PyQt5.QtLocation import *


class QPlaceSearchSuggestionReply(QPlaceReply):
    """
    https://doc.qt.io/qt-5/qplacesearchsuggestionreply.html

    **Detailed Description**

    On successful completion of the operation, the reply will contain a list of
    search term suggestions. See **Search Suggestions**  for an example on how
    to use a search suggestion reply.

    **See also** **QPlaceManager** .
    """

    def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None:
        """
        https://doc.qt.io/qt-5/qplacesearchsuggestionreply.html#QPlaceSearchSugg
        estionReply

        **QPlaceSearchSuggestionReply::QPlaceSearchSuggestionReply(QObject *
        parent = nullptr)**

        Constructs a search suggestion reply with a given **parent**.
        """
        ...

    def setSuggestions(self, suggestions: typing.Iterable[str]) -> None:
        """
        https://doc.qt.io/qt-5/qplacesearchsuggestionreply.html#setSuggestions

        **[protected] void QPlaceSearchSuggestionReply::setSuggestions(const
        QStringList & suggestions )**

        Sets the search term **suggestions**.

        **See also** **suggestions** ().
        """
        ...

    def type(self) -> QPlaceReply.Type:
        """
        https://doc.qt.io/qt-5/qplacesearchsuggestionreply.html#type

        **[override virtual] QPlaceReply::Type
        QPlaceSearchSuggestionReply::type() const**

        Reimplements: **QPlaceReply::type** () const.

        Returns type of reply.
        """
        ...

    def suggestions(self) -> typing.List[str]:
        """
        https://doc.qt.io/qt-5/qplacesearchsuggestionreply.html#suggestions

        **QStringList QPlaceSearchSuggestionReply::suggestions() const**

        Returns the search term suggestions.

        **See also** **setSuggestions** ().
        """
        ...
