Marble
FileManager.cpp
28 FileManagerPrivate( GeoDataTreeModel *treeModel, const PluginManager *pluginManager, FileManager* parent ) :
59 FileManager::FileManager( GeoDataTreeModel *treeModel, const PluginManager *pluginManager, QObject *parent )
71 void FileManager::addFile( const QString& filepath, const QString& property, const GeoDataStyle::Ptr &style, DocumentRole role, int renderOrder, bool recenter )
85 FileLoader* loader = new FileLoader( this, d->m_pluginManager, recenter, filepath, property, style, role, renderOrder );
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void addData(const QString &name, const QString &data, DocumentRole role)
add Data containing KML code as string
Definition: FileManager.cpp:89
FileManager(GeoDataTreeModel *treeModel, const PluginManager *pluginManager, QObject *parent=nullptr)
Creates a new file manager.
Definition: FileManager.cpp:59
void setName(const QString &value)
Set a new name for this feature.
Definition: GeoDataFeature.cpp:189
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int pendingFiles() const
Returns the number of files being opened at the moment.
Definition: FileManager.cpp:160
bool isEmpty() const const
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
This class is responsible for loading the different files into Geodata model.
Definition: FileManager.h:32
GeoDataLatLonAltBox latLonAltBox() const
A convenience function that returns the LatLonAltBox of all placemarks in this container.
Definition: GeoDataContainer.cpp:93
void removeFile(const QString &fileName)
removes an existing file from the manager
Definition: FileManager.cpp:104
void addFile(const QString &fileName, const QString &property, const GeoDataStyle::Ptr &style, DocumentRole role, int renderOrder=0, bool recenter=false)
Loads a new file into the manager.
Definition: FileManager.cpp:71
QVariant property(const char *name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.