6#include "GeoDataOrientation.h"
7#include "GeoDataTypes.h"
11class GeoDataOrientationPrivate
20 GeoDataOrientationPrivate();
23GeoDataOrientationPrivate::GeoDataOrientationPrivate() :
24 m_heading(0), m_tilt(0), m_roll(0)
29GeoDataOrientation::GeoDataOrientation() : d( new GeoDataOrientationPrivate )
34GeoDataOrientation::GeoDataOrientation(
const Marble::GeoDataOrientation &other ) :
35 GeoDataObject( other ), d( new GeoDataOrientationPrivate( *other.d ) )
40GeoDataOrientation &GeoDataOrientation::operator=(
const GeoDataOrientation &other )
42 GeoDataObject::operator=( other );
48bool GeoDataOrientation::operator==(
const GeoDataOrientation &other )
const
51 d->m_heading == other.d->m_heading &&
52 d->m_roll == other.d->m_roll &&
53 d->m_tilt == other.d->m_tilt;
56bool GeoDataOrientation::operator!=(
const GeoDataOrientation &other )
const
61GeoDataOrientation::~GeoDataOrientation()
66const char *GeoDataOrientation::nodeType()
const
68 return GeoDataTypes::GeoDataOrientationType;
71double GeoDataOrientation::heading()
const
76void GeoDataOrientation::setHeading(
double heading )
78 d->m_heading = heading;
81double GeoDataOrientation::tilt()
const
86void GeoDataOrientation::setTilt(
double tilt )
91double GeoDataOrientation::roll()
const
96void GeoDataOrientation::setRoll(
double roll )
QAction * roll(const QObject *recvr, const char *slot, QObject *parent)
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)