qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramlocation.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2024 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8
9#ifndef TELEGRAMLOCATION_H
10#define TELEGRAMLOCATION_H
11
13
14namespace qTbot {
15
20{
21public:
23
28 TelegramLocation(const QJsonObject &jsonObject);
29
34 double latitude() const;
35
40 double longitude() const;
41
46 QPointF toQPoint() const;
47};
48}
49#endif // TELEGRAMLOCATION_H
The IJsonBasedObject class This is base interface for all json base objects.
The TelegramLocation class just simple struct with latitude and longitude.
#define QTBOT_EXPORT
Definition global.h:18