kstars
skyobjlistmodel.h
Go to the documentation of this file.
void addSkyObject(SkyObjItem *sobj)
Add a sky-object to the model.
Definition: skyobjlistmodel.cpp:25
Represents a model for the list of interesting sky-objects to be displayed in the QML interface...
Definition: skyobjlistmodel.h:30
SkyObjItem * getSkyObjItem(int index)
Get sky-object item referred to by index.
Definition: skyobjlistmodel.cpp:52
QList< SkyObjItem * > getSkyObjItems()
Get the list of sky-object items in the model.
Definition: skyobjlistmodel.cpp:47
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Overriden method from QAbstractItemModel.
Definition: skyobjlistmodel.cpp:37
int rowCount(const QModelIndex &parent=QModelIndex()) const
Overridden method from QAbstractItemModel.
Definition: skyobjlistmodel.cpp:32
SkyObjListModel(SkyObjItem *soitem=0, QObject *parent=0)
Constructor.
Definition: skyobjlistmodel.cpp:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.