StelLocationMgr.hpp   StelLocationMgr.hpp 
skipping to change at line 50 skipping to change at line 50
~StelLocationMgr(); ~StelLocationMgr();
//! Return the model containing all the city //! Return the model containing all the city
QStringListModel* getModelAll() {return modelAllLocation;} QStringListModel* getModelAll() {return modelAllLocation;}
//! Return the list of all loaded locations //! Return the list of all loaded locations
QList<StelLocation> getAll() const {return locations.values();} QList<StelLocation> getAll() const {return locations.values();}
//! Return the StelLocation for a given string //! Return the StelLocation for a given string
//! Can match location name, or coordinates //! Can match location name, or coordinates
const StelLocation locationForString(const QString& s, bool* ok=NULL const StelLocation locationForString(const QString& s) const;
) const;
//! Return the StelLocation for the given row (match modelAllLocatio
n index row)
const StelLocation locationForSmallString(const QString& s, bool* ok
=NULL) const;
//! Return a valid location when no valid one was found. //! Return a valid location when no valid one was found.
const StelLocation& getLastResortLocation() const {return lastResort Location;} const StelLocation& getLastResortLocation() const {return lastResort Location;}
//! Get whether a location can be permanently added to the list of u ser locations //! Get whether a location can be permanently added to the list of u ser locations
//! The main constraint is that the small string must be unique //! The main constraint is that the small string must be unique
bool canSaveUserLocation(const StelLocation& loc) const; bool canSaveUserLocation(const StelLocation& loc) const;
//! Add permanently a location to the list of user locations //! Add permanently a location to the list of user locations
//! It is later identified by its small string //! It is later identified by its small string
 End of changes. 1 change blocks. 
7 lines changed or deleted 1 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/