• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • ParsingRunner
Signals | Public Member Functions | List of all members
Marble::ParsingRunner Class Referenceabstract

#include <ParsingRunner.h>

Inheritance diagram for Marble::ParsingRunner:
Inheritance graph
[legend]

Signals

void parsingFinished (GeoDataDocument *document, const QString &error=QString())
 

Public Member Functions

 ParsingRunner (QObject *parent=0)
 
virtual void parseFile (const QString &fileName, DocumentRole role)=0
 

Detailed Description

Definition at line 23 of file ParsingRunner.h.

Constructor & Destructor Documentation

Marble::ParsingRunner::ParsingRunner ( QObject *  parent = 0)
explicit

Definition at line 15 of file ParsingRunner.cpp.

Member Function Documentation

virtual void Marble::ParsingRunner::parseFile ( const QString &  fileName,
DocumentRole  role 
)
pure virtual

Start a file parsing.

Called by MarbleRunnerManager, runners are expected to return the result via the parsingFinished signal. If implemented in a plugin, make sure to include Parsing in the plugin capabilities, otherwise MarbleRunnerManager will ignore the plugin

Implemented in Marble::Pn2Runner, Marble::LogRunner, Marble::JsonRunner, Marble::CacheRunner, Marble::GpxRunner, Marble::KmlRunner, Marble::OsmRunner, Marble::PntRunner, and Marble::ShpRunner.

void Marble::ParsingRunner::parsingFinished ( GeoDataDocument *  document,
const QString &  error = QString() 
)
signal

File parsing is finished, result in the given document object.

The signal should be emitted with null document and error description in case of fault. To be emitted by runners after a

See also
parseFile call.

The documentation for this class was generated from the following files:
  • ParsingRunner.h
  • ParsingRunner.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal