libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
SatelliteDatabase Class Reference

A table holding all known satellites. More...

#include <satellitedatabase.hh>

Inheritance diagram for SatelliteDatabase:
Collaboration diagram for SatelliteDatabase:

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 OrbitalElementsDatabaseorbitalElements () const
OrbitalElementsDatabaseorbitalElements ()
const TransponderDatabasetransponders () const
TransponderDatabasetransponders ()
unsigned int count () const
const SatellitegetAt (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)

Detailed Description

A table holding all known satellites.

This table merges oribtal with transponder information.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/satellitedatabase.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/satellitedatabase.cc