marble
FileManager.h
Go to the documentation of this file.
56 void addFile( const QString &fileName, const QString &property, const GeoDataStyle* style, DocumentRole role, bool recenter = false );
62 void addFile( const QStringList &fileNames, const QStringList &propertyList, const QList<const GeoDataStyle*> &styles, DocumentRole role );
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
int pendingFiles() const
Returns the number of files being opened at the moment.
Definition: FileManager.cpp:189
void fileAdded(const QString &key)
Definition: FileLoader.h:25
void centeredDocument(const GeoDataLatLonBox &)
const char * name() const
QVariant property(const char *name) const
void addData(const QString &name, const QString &data, DocumentRole role)
add Data containing KML code as string
Definition: FileManager.cpp:104
void closeFile(const GeoDataDocument *document)
Definition: FileManager.cpp:164
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:119
FileManager(MarbleModel *model, QObject *parent=0)
Creates a new file manager.
Definition: FileManager.cpp:67
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
void fileRemoved(const QString &key)
void saveFile(const QString &fileName, const GeoDataDocument *document)
Definition: FileManager.cpp:150
QObject * parent() const
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
void addFile(const QString &fileName, const QString &property, const GeoDataStyle *style, DocumentRole role, bool recenter=false)
Loads a new file into the manager.
Definition: FileManager.cpp:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.