qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramlocation.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2026 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
:
25
TelegramLocation
();
26
31
TelegramLocation
(
const
QJsonObject &jsonObject);
32
37
double
latitude
()
const
;
38
43
double
longitude
()
const
;
44
49
QPointF
toQPoint
()
const
;
50
};
51
}
52
#endif
// TELEGRAMLOCATION_H
qTbot::IJsonBasedObject::IJsonBasedObject
IJsonBasedObject()
IJsonBasedObject default constructor.
Definition
ijsonbasedobject.cpp:12
qTbot::TelegramLocation::latitude
double latitude() const
latitude This is the float value of the latitude.
Definition
telegramlocation.cpp:23
qTbot::TelegramLocation::TelegramLocation
TelegramLocation()
TelegramLocation default constructor.
Definition
telegramlocation.cpp:13
qTbot::TelegramLocation::toQPoint
QPointF toQPoint() const
toQPoint This method converts the location data to the general qt class.
Definition
telegramlocation.cpp:33
qTbot::TelegramLocation::longitude
double longitude() const
longitude This is the float value of the longitude.
Definition
telegramlocation.cpp:28
ijsonbasedobject.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegramlocation.h
Generated by
1.18.0