Marble
Bookmarks.cpp
55 Marble::GeoDataCoordinates const compareTo( longitude, latitude, 0.0, Marble::GeoDataCoordinates::Degree );
74 GeoDataObject *object = model()->data(index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
119 bookmark.setCoordinate(bookmark.coordinate()); // replace non-point geometries with their center
131 Marble::GeoDataCoordinates const compareTo( longitude, latitude, 0.0, Marble::GeoDataCoordinates::Degree );
This file contains the headers for MarbleModel.
void setSourceModel(QAbstractItemModel *model) override
This class is responsible for loading the book mark objects from the files and various book mark oper...
Definition BookmarkManager.h:34
GeoDataFolder * addNewBookmarkFolder(GeoDataContainer *container, const QString &name)
add a folder
Definition BookmarkManager.cpp:201
void addBookmark(GeoDataContainer *folder, const GeoDataPlacemark &bookmark)
add bookmark in a folder
Definition BookmarkManager.cpp:129
qreal longitude(GeoDataCoordinates::Unit unit) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition GeoDataCoordinates.cpp:198
qreal latitude(GeoDataCoordinates::Unit unit) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition GeoDataCoordinates.cpp:215
QString toString() const
return a string representation of the coordinate this is a convenience function which uses the defaul...
Definition GeoDataCoordinates.cpp:390
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:50
A container that is used to arrange other GeoDataFeatures.
Definition GeoDataFolder.h:34
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:49
GeoDataCoordinates coordinate(const QDateTime &dateTime=QDateTime(), bool *iconAtCoordinates=nullptr) const
Return the coordinates of the placemark at time dateTime as a GeoDataCoordinates.
Definition GeoDataPlacemark.cpp:214
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:269
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QVariant data(int role) const const
bool isEmpty() const const
QString trimmed() const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.