Marble
FileManager.cpp
27 FileManagerPrivate(GeoDataTreeModel *treeModel, const PluginManager *pluginManager, FileManager *parent)
58FileManager::FileManager(GeoDataTreeModel *treeModel, const PluginManager *pluginManager, QObject *parent)
69void FileManager::addFile(const QString &filepath, const QString &property, const GeoDataStyle::Ptr &style, DocumentRole role, int renderOrder, bool recenter)
83 auto loader = new FileLoader(this, d->m_pluginManager, recenter, filepath, property, style, role, renderOrder);
95 QObject::connect(loader, SIGNAL(loaderFinished(FileLoader *)), q, SLOT(cleanupLoader(FileLoader *)));
This file contains the headers for MarbleModel.
This class is responsible for loading the different files into Geodata model.
Definition FileManager.h:33
int pendingFiles() const
Returns the number of files being opened at the moment.
Definition FileManager.cpp:157
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:69
FileManager(GeoDataTreeModel *treeModel, const PluginManager *pluginManager, QObject *parent=nullptr)
Creates a new file manager.
Definition FileManager.cpp:58
void removeFile(const QString &fileName)
removes an existing file from the manager
Definition FileManager.cpp:101
void addData(const QString &name, const QString &data, DocumentRole role)
add Data containing KML code as string
Definition FileManager.cpp:87
GeoDataLatLonAltBox latLonAltBox() const
A convenience function that returns the LatLonAltBox of all placemarks in this container.
Definition GeoDataContainer.cpp:90
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:48
A class that defines a 2D bounding box for geographic data.
Definition GeoDataLatLonBox.h:45
virtual bool isEmpty() const
Indicates whether the bounding box is not initialised (and contains nothing).
Definition GeoDataLatLonBox.cpp:752
virtual void clear()
Resets the bounding box to its uninitialised state (and thus contains nothing).
Definition GeoDataLatLonBox.cpp:815
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition GeoDataTreeModel.h:28
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
qint64 elapsed() const const
void start()
void append(QList< T > &&value)
bool isEmpty() const const
qsizetype removeAll(const AT &t)
qsizetype size() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QVariant property(const char *name) const const
bool isEmpty() const const
bool isFinished() const const
void start(Priority priority)
bool wait(QDeadlineTimer deadline)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.