Marble
Bookmarks.cpp
38 connect(item->model()->bookmarkManager(), SIGNAL(bookmarksChanged()), this, SLOT(updateBookmarkDocument()));
52 Marble::GeoDataCoordinates const compareTo(longitude, latitude, 0.0, Marble::GeoDataCoordinates::Degree);
71 auto object = model()->data(index, MarblePlacemarkModel::ObjectPointerRole).value<GeoDataObject *>();
116 bookmark.setCoordinate(bookmark.coordinate()); // replace non-point geometries with their center
128 Marble::GeoDataCoordinates const compareTo(longitude, latitude, 0.0, Marble::GeoDataCoordinates::Degree);
156 m_proxyModel->setFilterFixedString(QString::fromLatin1(Marble::GeoDataTypes::GeoDataPlacemarkType));
This file contains the headers for MarbleModel.
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:199
void addBookmark(GeoDataContainer *folder, const GeoDataPlacemark &bookmark)
add bookmark in a folder
Definition BookmarkManager.cpp:127
QList< GeoDataFolder * > folderList() const
A convenience function that returns all folders in this container.
Definition GeoDataContainer.cpp:121
QString toString() const
return a string representation of the coordinate this is a convenience function which uses the defaul...
Definition GeoDataCoordinates.cpp:379
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:48
A container that is used to arrange other GeoDataFeatures.
Definition GeoDataFolder.h:33
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:47
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:206
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:257
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QVariant data(int role) const const
QString fromLatin1(QByteArrayView str)
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 Fri Nov 8 2024 12:02:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.