MinorPlanet.hpp   MinorPlanet.hpp 
skipping to change at line 79 skipping to change at line 79
//! \return a QString containing an HMTL encoded description of the MinorPlanet. //! \return a QString containing an HMTL encoded description of the MinorPlanet.
virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const; virtual QString getInfoString(const StelCore *core, const InfoString Group &flags) const;
//The Comet class inherits the "Planet" type because the SolarSystem class //The Comet class inherits the "Planet" type because the SolarSystem class
//was not designed to handle different types of objects. //was not designed to handle different types of objects.
// \todo Decide if this is going to be "MinorPlanet" or "Asteroid" // \todo Decide if this is going to be "MinorPlanet" or "Asteroid"
//virtual QString getType() const {return "MinorPlanet";} //virtual QString getType() const {return "MinorPlanet";}
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core) const;
//! sets the nameI18 property with the appropriate translation. //! sets the nameI18 property with the appropriate translation.
//! Function overriden to handle the problem with name conflicts. //! Function overriden to handle the problem with name conflicts.
virtual void translateName(const StelTranslator& trans); virtual void translateName(const StelTranslator& trans);
virtual QString getEnglishName(void) const {return englishName;}
virtual QString getNameI18n(void) const {return nameI18;}
//! set the minor planet's number, if any. //! set the minor planet's number, if any.
//! The number should be specified as an additional parameter, as //! The number should be specified as an additional parameter, as
//! englishName is passed as a constant to Planet's constructor. //! englishName is passed as a constant to Planet's constructor.
//! The number can be set only once. Any further calls of this funct ion will //! The number can be set only once. Any further calls of this funct ion will
//! have no result. //! have no result.
void setMinorPlanetNumber(int number); void setMinorPlanetNumber(int number);
//! sets a provisional designation. //! sets a provisional designation.
//! At the moment, the only role is for it to be displayed in the in fo //! At the moment, the only role is for it to be displayed in the in fo
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/