MauiKit Image Tools

geolocation/cities.h
1//
2// Created by gabridc on 5/6/21.
3//
4
5#pragma once
6#include <QDebug>
7
8#include <QObject>
9#include <QThread>
10
11#include "imagetools_export.h"
12
13class City;
14class CitiesDB;
15class IMAGETOOLS_EXPORT Cities : public QObject
16{
17 Q_OBJECT
18 Q_DISABLE_COPY_MOVE(Cities)
19
20public:
21 Cities(QObject * parent = nullptr);
22
23 static Cities *getInstance();
24
25 ~Cities();
26 City findCity(double latitude, double longitude);
27 City city(const QString&);
28
29private:
30 CitiesDB *db();
32};
33
A wrapper to give access to al the cities information in the data base.
A class for representing the GPS coordinates and information of a city.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.