Marble/FileManagement

From KDE TechBase

File Management Overview

The file loading historically was in Expression error: Unrecognized word "x". and effort is ongoing to refactor this in the Expression error: Unrecognized word "x"..

The ideas are to separate the file loading from other interested parts of marble, and to keep a reference store for Expression error: Unrecognized word "x". 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 Expression error: Unrecognized word "x". and use the parsers quite exclusively from here.
  • use threading support with Expression error: Unrecognized word "x". loading the file asynchronously.
  • provide the results of those parsing to models through Expression error: Unrecognized word "x". so that plugins can have easy access to file data.