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
12
#include <
qTbot/ijsonbasedobject.h
>
13
14
namespace
qTbot
{
15
19
class
QTBOT_EXPORT
TelegramLocation
:
public
IJsonBasedObject
20
{
21
public
:
22
TelegramLocation
();
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
qTbot::IJsonBasedObject
The IJsonBasedObject class This is base interface for all json base objects.
Definition
ijsonbasedobject.h:20
qTbot::TelegramLocation
The TelegramLocation class just simple struct with latitude and longitude.
Definition
telegramlocation.h:20
QTBOT_EXPORT
#define QTBOT_EXPORT
Definition
global.h:18
ijsonbasedobject.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegramlocation.h
Generated by
1.9.8