marble
vehicletracking.cpp
Go to the documentation of this file.
QLayout * layout() const
void setInterval(int msec)
void coordinatesChanged(GeoDataCoordinates coord)
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
GeoDataTreeModel * treeModel()
Return the list of Placemarks as a QAbstractItemModel *.
Definition: MarbleModel.cpp:477
QObject * sender() const
void moveToThread(QThread *targetThread)
CarWorker(const GeoDataCoordinates &city, qreal radius, qreal speed)
Definition: vehicletracking.cpp:32
This file contains the headers for MarbleModel.
void setProjection(int projection)
Set the Projection used for the map.
Definition: MarbleWidget.cpp:591
void setZoom(int zoom, FlyToMode mode=Instant)
Zoom the view to a certain zoomlevel.
Definition: MarbleWidget.cpp:516
void setCoordinate(qreal longitude, qreal latitude, qreal altitude=0, GeoDataCoordinates::Unit _unit=GeoDataCoordinates::Radian)
Set the coordinate of the placemark in longitude and latitude.
Definition: GeoDataPlacemark.cpp:215
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
Definition: vehicletracking.h:52
int addDocument(GeoDataDocument *document)
Definition: GeoDataTreeModel.cpp:821
Definition: vehicletracking.h:27
void setGeometry(int x, int y, int w, int h)
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
void start(Priority priority)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setLayout(QLayout *layout)
void updateFeature(GeoDataFeature *feature)
Definition: GeoDataTreeModel.cpp:864
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
void centerOn(const qreal lon, const qreal lat, bool animated=false)
Center the view on a geographical point.
Definition: MarbleWidget.cpp:549
void stop()
int exec()
void setCarCoordinates(const GeoDataCoordinates &coord)
Definition: vehicletracking.cpp:121
This file contains the headers for MarbleWidget.
void start(int msec)
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.