Marble::PlanetFactory

Search for usage in LXR

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 25 of file PlanetFactory.h.

Member Function Documentation

◆ construct()

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

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

Definition at line 28 of file PlanetFactory.cpp.

◆ localizedName()

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

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

Definition at line 218 of file PlanetFactory.cpp.

◆ planetList()

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

Provides a list of known planet IDs.

Definition at line 17 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-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:08:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.