Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qplacecategoriesreplymapbox.cpp
Go to the documentation of this file.
1// Copyright (C) 2017 Mapbox, Inc.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
7
8QPlaceCategoriesReplyMapbox::QPlaceCategoriesReplyMapbox(QObject *parent)
10{
11}
12
13QPlaceCategoriesReplyMapbox::~QPlaceCategoriesReplyMapbox()
14{
15}
16
17void QPlaceCategoriesReplyMapbox::finish()
18{
19 setFinished(true);
20 emit finished();
21}
22
23void QPlaceCategoriesReplyMapbox::setError(QPlaceReply::Error errorCode, const QString &errorString)
24{
25 QPlaceReply::setError(errorCode, errorString);
26 emit errorOccurred(errorCode, errorString);
27 finish();
28}
29
30QT_END_NAMESPACE
QObject * parent
Definition qobject.h:73
\inmodule QtCore
Definition qobject.h:105