marble
FileManager.cpp
Go to the documentation of this file.
77 void FileManager::addFile( const QString& filepath, const QString& property, GeoDataStyle* style, DocumentRole role, bool recenter )
91 FileLoader* loader = new FileLoader( this, d->m_model, recenter, filepath, property, style, role );
95 void FileManager::addFile( const QStringList& filepaths, const QStringList& propertyList, const QList<GeoDataStyle*>& styles, DocumentRole role )
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:64
void saveFile(GeoDataDocument *document)
Definition: FileManager.cpp:148
This file contains the headers for MarbleModel.
Definition: FileLoader.h:25
void addData(const QString &name, const QString &data, DocumentRole role)
add Data containing KML code as string
Definition: FileManager.cpp:102
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:485
This class is responsible for loading the different files into Geodata model.
Definition: FileManager.h:36
void removeFile(const QString &fileName)
removes an existing file from the manager
Definition: FileManager.cpp:117
void closeFile(GeoDataDocument *document)
Definition: FileManager.cpp:153
GeoDataLatLonAltBox latLonAltBox() const
A convenience function that returns the LatLonAltBox of all placemarks in this container.
Definition: GeoDataContainer.cpp:53
void addFile(const QString &fileName, const QString &property, GeoDataStyle *style, DocumentRole role, bool recenter=false)
Loads a new file into the manager.
Definition: FileManager.cpp:77
FileManager(MarbleModel *model, QObject *parent=0)
Creates a new file manager.
Definition: FileManager.cpp:65
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.