KReport
18#include "KReportScriptMaps.h"
19#include "KReportItemMaps.h"
24Maps::Maps(KReportItemMaps *i)
27 m_map->m_latDataSetFromScript =
false;
28 m_map->m_longDataSetFromScript =
false;
29 m_map->m_zoomDataSetFromScript =
false;
36QPointF Maps::position()
const
38 return m_map->position();
41void Maps::setPosition(
const QPointF& position)
43 m_map->setPosition(position);
46QSizeF Maps::size()
const
51void Maps::setSize(
const QSizeF& size)
56void Maps::setLatitude(qreal latitude)
58 m_map->m_latitude = latitude;
59 m_map->m_latDataSetFromScript =
true;
62void Maps::setLongitude(qreal longitude)
64 m_map->m_longtitude = longitude;
65 m_map->m_longDataSetFromScript =
true;
68void Maps::setZoom(
int zoom)
71 m_map->m_zoomDataSetFromScript =
true;
QAction * zoom(const QObject *recvr, const char *slot, QObject *parent)
Field item script interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.