Marble::PlanetFactory
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< QString > | planetList () |
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()
|
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()
Returns a localized name of the planet with the given ID.
Definition at line 218 of file PlanetFactory.cpp.
◆ planetList()
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 Nov 8 2024 12:02:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.