marble
EclipsesModel.h
Go to the documentation of this file.
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: EclipsesModel.cpp:105
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: EclipsesModel.cpp:136
This file contains the headers for MarbleModel.
EclipsesItem * eclipseWithIndex(int index)
Get eclipse item of a given year.
Definition: EclipsesModel.cpp:89
void setObservationPoint(const GeoDataCoordinates &coords)
Set the current observation point.
Definition: EclipsesModel.cpp:52
Definition: eclsolar.h:22
QList< EclipsesItem * > items() const
Return the items in this model.
Definition: EclipsesModel.cpp:100
void setWithLunarEclipses(const bool enable)
Set if lunar eclipses are enbled.
Definition: EclipsesModel.cpp:75
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: EclipsesModel.cpp:124
bool withLunarEclipses() const
Return whether or not lunar eclipses are enabled.
Definition: EclipsesModel.cpp:84
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: EclipsesModel.cpp:130
EclipsesModel(const MarbleModel *model, QObject *parent=0)
Definition: EclipsesModel.cpp:24
const GeoDataCoordinates & observationPoint() const
Return the current observation point.
Definition: EclipsesModel.cpp:47
QObject * parent() const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: EclipsesModel.cpp:161
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.