7#ifndef MARBLE_GEODATALOOKAT_H
8#define MARBLE_GEODATALOOKAT_H
10#include "GeoDataAbstractView.h"
11#include "GeoDataCoordinates.h"
12#include "geodata_export.h"
16class GeoDataLookAtPrivate;
20class GEODATA_EXPORT GeoDataLookAt :
public GeoDataAbstractView
25 GeoDataLookAt(
const GeoDataLookAt &other);
27 GeoDataLookAt &operator=(
const GeoDataLookAt &other);
29 bool operator==(
const GeoDataLookAt &other)
const;
30 bool operator!=(
const GeoDataLookAt &other)
const;
32 ~GeoDataLookAt()
override;
34 GeoDataAbstractView *
copy()
const override;
41 void setAltitude(qreal altitude);
47 qreal altitude()
const;
55 void setLatitude(qreal latitude, GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian);
64 qreal latitude(GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian)
const;
72 void setLongitude(qreal longitude, GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian);
81 qreal longitude(GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian)
const;
88 GeoDataCoordinates coordinates()
const;
94 void setRange(qreal range);
107 void setCoordinates(
const GeoDataCoordinates &coordinates);
110 const char *nodeType()
const override;
115 GeoDataLookAtPrivate *d;
118Q_DECLARE_METATYPE(Marble::GeoDataLookAt)
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT CopyJob * copy(const QList< QUrl > &src, const QUrl &dest, JobFlags flags=DefaultFlags)
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 Mon Nov 4 2024 16:37:03 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.