summaryrefslogtreecommitdiffstats
path: root/src/plugins/geoservices/osm/qplacecategoriesreplyosm.cpp
blob: 950656e7d8600b4237276ce51976c2d690b0aeb2 (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) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "qplacecategoriesreplyosm.h"

QT_BEGIN_NAMESPACE

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

QPlaceCategoriesReplyOsm::~QPlaceCategoriesReplyOsm()
{
}

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

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

QT_END_NAMESPACE