KDE TechBase
  • Page
  • Discussion
  • Edit
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

Projects/Marble/FileManagement

< Projects | Marble

[edit] File Management Overview

The file loading historically was in PlacemarkManager and effort is ongoing to refactor this in the FileManager.

The ideas are to separate the file loading from other interested parts of marble, and to keep a reference store for GeoDataObject read from those files.

As a consequence, PlacemarkManager solely deals with handling the placemarks, and relies on the FileManager to signal when files are read/closed. Other interested class can connect to those signals as well to know about file action.

The role of the FileManager is:

  • support the various file formats thanks to GeoDataParser and use the parsers quite exclusively from here.
  • use threading support with FileLoader loading the file asynchronously.
  • provide the results of those parsing to models through MarbleFileViewModel so that plugins can have easy access to file data.
Retrieved from "http://techbase.kde.org/Projects/Marble/FileManagement"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • 38.107.191.99
  • Talk for this IP
  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal