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)

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

Definition at line 36 of file PlanetFactory.cpp.

◆ localizedName()

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

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

Definition at line 226 of file PlanetFactory.cpp.

◆ planetList()

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

Provides a list of known planet IDs.

Definition at line 16 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 Jun 21 2024 12:00:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.