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

marble

  • Marble
  • PluginManager
Signals | Public Member Functions | List of all members
Marble::PluginManager Class Reference

#include <PluginManager.h>

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

Signals

void parseRunnerPluginsChanged ()
 
void positionProviderPluginsChanged ()
 
void renderPluginsChanged ()
 
void reverseGeocodingRunnerPluginsChanged ()
 
void routingRunnerPluginsChanged ()
 
void searchRunnerPluginsChanged ()
 

Public Member Functions

 PluginManager (QObject *parent=0)
 
 ~PluginManager ()
 
void addParseRunnerPlugin (const ParseRunnerPlugin *plugin)
 
void addPositionProviderPlugin (const PositionProviderPlugin *plugin)
 
void addRenderPlugin (const RenderPlugin *plugin)
 
void addReverseGeocodingRunnerPlugin (const ReverseGeocodingRunnerPlugin *plugin)
 
void addRoutingRunnerPlugin (RoutingRunnerPlugin *plugin)
 
void addSearchRunnerPlugin (const SearchRunnerPlugin *plugin)
 
QList< const ParseRunnerPlugin * > parsingRunnerPlugins () const
 
QList< const
PositionProviderPlugin * > 
positionProviderPlugins () const
 
QList< const RenderPlugin * > renderPlugins () const
 
QList< const
ReverseGeocodingRunnerPlugin * > 
reverseGeocodingRunnerPlugins () const
 
QList< RoutingRunnerPlugin * > routingRunnerPlugins () const
 
QList< const SearchRunnerPlugin * > searchRunnerPlugins () const
 

Detailed Description

The class that handles Marble's plugins.

Ownership policy for plugins:

On every invocation of createNetworkPlugins and createFloatItems the PluginManager creates new objects and transfers ownership to the calling site. In order to create the objects, the PluginManager internally has a list of the plugins which are owned by the PluginManager and destroyed by it.

Definition at line 45 of file PluginManager.h.

Constructor & Destructor Documentation

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

Definition at line 61 of file PluginManager.cpp.

Marble::PluginManager::~PluginManager ( )

Definition at line 66 of file PluginManager.cpp.

Member Function Documentation

void Marble::PluginManager::addParseRunnerPlugin ( const ParseRunnerPlugin *  plugin)

Add a ParseRunnerPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 142 of file PluginManager.cpp.

void Marble::PluginManager::addPositionProviderPlugin ( const PositionProviderPlugin *  plugin)

Add a PositionProviderPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 90 of file PluginManager.cpp.

void Marble::PluginManager::addRenderPlugin ( const RenderPlugin *  plugin)

Add a RenderPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 77 of file PluginManager.cpp.

void Marble::PluginManager::addReverseGeocodingRunnerPlugin ( const ReverseGeocodingRunnerPlugin *  plugin)

Add a ReverseGeocodingRunnerPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 116 of file PluginManager.cpp.

void Marble::PluginManager::addRoutingRunnerPlugin ( RoutingRunnerPlugin *  plugin)

Add a RoutingRunnerPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 129 of file PluginManager.cpp.

void Marble::PluginManager::addSearchRunnerPlugin ( const SearchRunnerPlugin *  plugin)

Add a SearchRunnerPlugin manually to the list of known plugins.

Normally you don't need to call this method since all plugins are loaded automatically.

Parameters
pluginThe plugin to add. Ownership retains with the caller.

Definition at line 103 of file PluginManager.cpp.

void Marble::PluginManager::parseRunnerPluginsChanged ( )
signal
QList< const ParseRunnerPlugin * > Marble::PluginManager::parsingRunnerPlugins ( ) const

Returns all parse runner plugins.

Note
: The runner plugins are owned by the PluginManager, do not delete them.

Definition at line 136 of file PluginManager.cpp.

QList< const PositionProviderPlugin * > Marble::PluginManager::positionProviderPlugins ( ) const

Returns all available PositionProviderPlugins.

Ownership of the items remains in PluginManager. In order to use the PositionProviderPlugins, first create new instances using PositionProviderPlugin::newInstance().

Definition at line 84 of file PluginManager.cpp.

void Marble::PluginManager::positionProviderPluginsChanged ( )
signal
QList< const RenderPlugin * > Marble::PluginManager::renderPlugins ( ) const

Returns all available RenderPlugins.

Ownership of the items remains in PluginManager. In order to use the RenderPlugins, first create new instances using RenderPlugin::newInstance().

Definition at line 71 of file PluginManager.cpp.

void Marble::PluginManager::renderPluginsChanged ( )
signal
QList< const ReverseGeocodingRunnerPlugin * > Marble::PluginManager::reverseGeocodingRunnerPlugins ( ) const

Returns all reverse geocoding runner plugins.

Note
: The runner plugins are owned by the PluginManager, do not delete them.

Definition at line 110 of file PluginManager.cpp.

void Marble::PluginManager::reverseGeocodingRunnerPluginsChanged ( )
signal
QList< RoutingRunnerPlugin * > Marble::PluginManager::routingRunnerPlugins ( ) const

Returns all routing runner plugins.

Note
: The runner plugins are owned by the PluginManager, do not delete them.

Definition at line 123 of file PluginManager.cpp.

void Marble::PluginManager::routingRunnerPluginsChanged ( )
signal
QList< const SearchRunnerPlugin * > Marble::PluginManager::searchRunnerPlugins ( ) const

Returns all search runner plugins.

Note
: Runner plugins are owned by the PluginManager, do not delete them.

Definition at line 97 of file PluginManager.cpp.

void Marble::PluginManager::searchRunnerPluginsChanged ( )
signal

The documentation for this class was generated from the following files:
  • PluginManager.h
  • PluginManager.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