Marble::PlanetFactory Class Reference

#include <PlanetFactory.h>

Static Public Member Functions

static Planet construct (const QString &id)
static QString localizedName (const QString &id)
static QList< QStringplanetList ()

Detailed Description

The PlanetFactory class provides static methods to construct any planet known to Marble.

Definition at line 30 of file PlanetFactory.h.

Member Function Documentation

Planet Marble::PlanetFactory::construct ( const QString id)

Creates the planet with the given ID, or one with default values if ID is not among planetList()

Definition at line 41 of file PlanetFactory.cpp.

QString Marble::PlanetFactory::localizedName ( const QString id)

Returns a localized name of the planet with the given ID.

Definition at line 231 of file PlanetFactory.cpp.

QList< QString > Marble::PlanetFactory::planetList ( )

Provides a list of known planet IDs.

Definition at line 21 of file PlanetFactory.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Sep 19 2020 23:19:27 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.