Marble

GeoDataScale.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Mayank Madan <maddiemadan@gmail.com>
4// SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
5//
6
7#ifndef GEODATASCALE_H
8#define GEODATASCALE_H
9
10#include "GeoDataObject.h"
11#include "MarbleGlobal.h"
12
13namespace Marble
14{
15
16class GeoDataScalePrivate;
17
18/**
19 */
20class GEODATA_EXPORT GeoDataScale : public GeoDataObject
21{
22public:
23 GeoDataScale();
24
25 GeoDataScale(const GeoDataScale &other);
26
27 GeoDataScale &operator=(const GeoDataScale &other);
28
29 bool operator==(const GeoDataScale &other) const;
30 bool operator!=(const GeoDataScale &other) const;
31
32 ~GeoDataScale() override;
33
34 /** Provides type information for downcasting a GeoNode */
35 const char *nodeType() const override;
36
37 double x() const;
38
39 void setX(double x);
40
41 double y() const;
42
43 void setY(double y);
44
45 double z() const;
46
47 void setZ(double z);
48
49private:
50 GeoDataScalePrivate *const d;
51};
52
53}
54
55#endif // GEODATASCALE_H
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.