Kstars
modelmanager.cpp
212 void ModelManager::loadObjectsIntoModel(SkyObjListModel &model, QList<SkyObjItem *> &skyObjectList)
219 (showOnlyVisible) ? (m_ObsConditions->isVisible(data->geo(), data->lst(), soitem->getSkyObject())) : true;
void append(const T &value)
Definition: ksfilereader.h:53
void updateAllModels(ObsConditions *obs)
Updates sky-object list models.
Definition: modelmanager.cpp:147
QFuture< T > run(Function function,...)
SkyObject * getSkyObject()
Get sky-object associated with the SkyObjItem.
Definition: skyobjitem.h:123
ModelManager(ObsConditions *obs)
Constructor - Creates models for different sky-object types.
Definition: modelmanager.cpp:21
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition: ksfilereader.cpp:31
void append(const T &value)
Definition: kstarsdata.h:71
Manages the catalog database and provides an interface to provide an interface to query and modify th...
Definition: catalogsdb.h:182
void removeAt(int i)
T value(int i) const const
int size() const const
SkyObject * findByName(const QString &name, bool exact=true) override
Search the children of this SkyMapComposite for a SkyObject whose name matches the argument.
Definition: skymapcomposite.cpp:558
QString i18n(const char *text, const TYPE &arg...)
Definition: skyobjlistmodel.h:19
int length() const const
const T & at(int i) const const
void loadCatalog(const QString &name)
Load objects from the dso db for the catalog with name can be used to retreive the object lists later...
Definition: modelmanager.cpp:274
SkyObjListModel * returnModel(QString modelName)
Returns model of given type.
Definition: modelmanager.cpp:265
Definition: obsconditions.h:21
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition: ksfilereader.h:105
const QChar at(int position) const const
QString getName() const
Get name of sky-object associated with the SkyObjItem.
Definition: skyobjitem.h:69
bool isVisible(GeoLocation *geo, dms *lst, SkyObject *so)
Evaluate visibility of sky-object based on current observing conditions.
Definition: obsconditions.cpp:86
int size() const const
Definition: skyobjitem.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:05:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.