![]() |
Stellarium trunk-revision-4929 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Manage the list of available location. More...
#include <StelLocationMgr.hpp>
Public Member Functions | |
| StelLocationMgr () | |
| ~StelLocationMgr () | |
| QStringListModel * | getModelAll () |
| QList< StelLocation > | getAll () const |
| const StelLocation | locationForString (const QString &s, bool *ok=NULL) const |
| const StelLocation | locationForSmallString (const QString &s, bool *ok=NULL) const |
| const StelLocation & | getLastResortLocation () const |
| bool | canSaveUserLocation (const StelLocation &loc) const |
| bool | saveUserLocation (const StelLocation &loc) |
| bool | canDeleteUserLocation (const QString &id) const |
| bool | deleteUserLocation (const QString &id) |
Manage the list of available location.
| bool StelLocationMgr::canDeleteUserLocation | ( | const QString & | id | ) | const |
Get whether a location can be deleted from the list of user locations If the location comes from the base read only list, it cannot be deleted.
| id | the location ID |
| bool StelLocationMgr::deleteUserLocation | ( | const QString & | id | ) |
Delete permanently the given location from the list of user locations If the location comes from the base read only list, it cannot be deleted and false is returned.
| id | the location ID |
1.7.3