libdrmconf 0.12.1
A library to program DMR radios.
|
A table holding all known satellites. More...
#include <satellitedatabase.hh>
Public Slots | |
void | update () |
void | load () |
bool | save (const ErrorStack &err=ErrorStack()) const |
Signals | |
void | loaded () |
Gets emitted once the satellites has been loaded. | |
void | error (const QString &msg) |
Gets emitted if the loading one of the sources fails. | |
Public Member Functions | |
SatelliteDatabase (unsigned int updatePeriodDays=7, QObject *parent=nullptr) | |
const OrbitalElementsDatabase & | orbitalElements () const |
OrbitalElementsDatabase & | orbitalElements () |
const TransponderDatabase & | transponders () const |
TransponderDatabase & | transponders () |
unsigned int | count () const |
const Satellite & | getAt (unsigned int idx) const |
void | add (const Satellite &sat) |
bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
Qt::ItemFlags | flags (const QModelIndex &index) const |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
QVariant | data (const QModelIndex &index, int role) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
A table holding all known satellites.
This table merges oribtal with transponder information.