summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/esri/placecategoriesreply_esri.cpp
blob: fbe605ecd31eb3d3baa405255a369abd56dce225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2013-2018 Esri <contracts@esri.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "placecategoriesreply_esri.h"

QT_BEGIN_NAMESPACE

PlaceCategoriesReplyEsri::PlaceCategoriesReplyEsri(QObject *parent) :
    QPlaceReply(parent)
{
}

PlaceCategoriesReplyEsri::~PlaceCategoriesReplyEsri()
{
}

void PlaceCategoriesReplyEsri::emitFinished()
{
    setFinished(true);
    emit finished();
}

void PlaceCategoriesReplyEsri::setError(QPlaceReply::Error errorCode, const QString &errorString)
{
    QPlaceReply::setError(errorCode, errorString);
    emit errorOccurred(errorCode, errorString);
}

QT_END_NAMESPACE