KOSMIndoorMap

overpassquerymanager.h
1/*
2 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef OSM_OVERPASSQUERYMANAGER_H
8#define OSM_OVERPASSQUERYMANAGER_H
9
10#include "kosm_export.h"
11
12#include <QObject>
13
14#include <memory>
15
16namespace OSM {
17
18class OverpassQuery;
19class OverpassQueryManagerPrivate;
20
21/** Executes OverpassQuery jobs. */
22class KOSM_EXPORT OverpassQueryManager : public QObject
23{
24 Q_OBJECT
25public:
26 explicit OverpassQueryManager(QObject *parent = nullptr);
28
29 /** Executes @p query.
30 * Once done, OverpassQuery::finished will be emitted.
31 */
32 void execute(OverpassQuery *query);
33
34private:
35 std::unique_ptr<OverpassQueryManagerPrivate> d;
36};
37
38}
39
40#endif // OSM_OVERPASSQUERYMANAGER_H
Executes OverpassQuery jobs.
An Overpass QL query job, to be executed by OverpassQueryManager.
Low-level types and functions to work with raw OSM data as efficiently as possible.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.