Marble
FileViewWidget.cpp
141 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
144 const QString saveFileName = QFileDialog::getSaveFileName(q, QObject::tr("Select filename for KML document"));
153 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
166 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
181 const GeoDataObject *obj = model->data(index, MarblePlacemarkModel::ObjectPointerRole).value<GeoDataObject*>();
195 GeoDataObject *obj = model->data(index, MarblePlacemarkModel::ObjectPointerRole).value<GeoDataObject*>();
212 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
214 d->m_widget->model()->placemarkSelectionModel()->select( index, QItemSelectionModel::ClearAndSelect );
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:42
virtual QVariant data(const QModelIndex &index, int role) const const=0
T value() const const
AscendingOrder
CustomContextMenu
The EditPlacemarkDialog class deals with customizing placemarks.
Definition: EditPlacemarkDialog.h:22
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
static bool write(QIODevice *device, const GeoDataDocument &document, const QString &documentIdentifier)
Write the content of the given GeoDataDocument to the given I/O device.
Definition: GeoDataDocumentWriter.cpp:21
ClearAndSelect
typedef WindowFlags
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:48
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:28
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:46
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
bool isValid() const const
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:48
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:42
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
This class is responsible for loading the different files into Geodata model.
Definition: FileManager.h:32
QString tr(const char *sourceText, const char *disambiguation, int n)
const QAbstractItemModel * model() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 04:07:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 04:07:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.