KOSMIndoorMap

overpassquerymanager.h
1 /*
2  SPDX-FileCopyrightText: 2020 Volker Krause <[email protected]>
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 
16 namespace OSM {
17 
18 class OverpassQuery;
19 class OverpassQueryManagerPrivate;
20 
21 /** Executes OverpassQuery jobs. */
22 class KOSM_EXPORT OverpassQueryManager : public QObject
23 {
24  Q_OBJECT
25 public:
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 
34 private:
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.
Definition: overpassquery.h:25
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-2021 The KDE developers.
Generated on Sat Oct 23 2021 23:03:45 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.