Marble
7#include "GeoDataScale.h"
8#include "GeoDataTypes.h"
12class GeoDataScalePrivate
21 GeoDataScalePrivate();
24GeoDataScalePrivate::GeoDataScalePrivate() :
25 m_x(1), m_y(1), m_z(1)
30GeoDataScale::GeoDataScale() : d( new GeoDataScalePrivate )
35GeoDataScale::GeoDataScale(
const Marble::GeoDataScale &other ) :
36 GeoDataObject( other ), d( new GeoDataScalePrivate( *other.d ) )
41GeoDataScale &GeoDataScale::operator=(
const GeoDataScale &other )
43 GeoDataObject::operator=( other );
49bool GeoDataScale::operator==(
const GeoDataScale &other )
const
52 d->m_x == other.d->m_x &&
53 d->m_y == other.d->m_y &&
54 d->m_z == other.d->m_z;
57bool GeoDataScale::operator!=(
const GeoDataScale &other )
const
62GeoDataScale::~GeoDataScale()
67const char *GeoDataScale::nodeType()
const
69 return GeoDataTypes::GeoDataScaleType;
72double GeoDataScale::x()
const
77void GeoDataScale::setX(
double x )
82double GeoDataScale::y()
const
87void GeoDataScale::setY(
double y )
92double GeoDataScale::z()
const
97void GeoDataScale::setZ(
double z )
bool equals(const QVariant &lhs, const QVariant &rhs)
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 31 2024 17:23:58 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.