6#include "GeoDataVec2.h" 
    8#include "MarbleDebug.h" 
   13class GeoDataVec2Private
 
   18    GeoDataVec2::Unit m_xunit;
 
   19    GeoDataVec2::Unit m_yunit;
 
   21    static GeoDataVec2::Unit parseUnits(
const QString &value);
 
   24GeoDataVec2Private::GeoDataVec2Private()
 
   25    : m_xunit(GeoDataVec2::Fraction)
 
   26    , m_yunit(GeoDataVec2::Fraction)
 
   30GeoDataVec2::GeoDataVec2()
 
   31    : d(new GeoDataVec2Private)
 
   35GeoDataVec2::GeoDataVec2(qreal x, qreal y, 
const QString &xunits, 
const QString &yunits)
 
   36    : d(new GeoDataVec2Private)
 
   40    d->m_xunit = GeoDataVec2Private::parseUnits(xunits);
 
   41    d->m_yunit = GeoDataVec2Private::parseUnits(yunits);
 
   44GeoDataVec2::Unit GeoDataVec2Private::parseUnits(
const QString &value)
 
   47        return GeoDataVec2::Fraction;
 
   50        return GeoDataVec2::Pixels;
 
   53        return GeoDataVec2::InsetPixels;
 
   56    mDebug() << 
"Warning: Unknown units value " << value << 
" - falling back to default 'fraction'";
 
   57    return GeoDataVec2::Fraction;
 
   60GeoDataVec2::GeoDataVec2(
const Marble::GeoDataVec2 &other)
 
   62    , d(new GeoDataVec2Private(*other.d))
 
   66GeoDataVec2 &GeoDataVec2::operator=(
const GeoDataVec2 &other)
 
   68    QPointF::operator=(other);
 
   73bool GeoDataVec2::operator==(
const GeoDataVec2 &other)
 const 
   75    return x() == other.x() && y() == other.y() && d->m_xunit == other.d->m_xunit && d->m_yunit == other.d->m_yunit;
 
   78bool GeoDataVec2::operator!=(
const GeoDataVec2 &other)
 const 
   83GeoDataVec2::~GeoDataVec2()
 
   88GeoDataVec2::Unit GeoDataVec2::xunit()
 const 
   93void GeoDataVec2::setXunits(Unit xunit)
 
   98GeoDataVec2::Unit GeoDataVec2::yunit()
 const 
  103void GeoDataVec2::setYunits(Unit yunit)
 
bool operator==(const StyleDelim &l, const StyleDelim &r)
 
Binds a QML item to a specific geodetic location in screen coordinates.